normaliseBaits {Chicago} | R Documentation |
Calculate normalisation factors s_j
for each bait.
normaliseBaits(cd, normNcol = "NNb", shrink = FALSE, plot = TRUE, outfile = NULL, debug = FALSE)
cd |
A |
normNcol |
The name of the column in |
shrink |
Deprecated. |
plot |
If |
outfile |
|
debug |
Deprecated. |
A chicagoData
object: intData(cd)
gains a new column s_j
, and normalised output NNb
(unless the normNcol
parameter is altered).
An object of class chicagoData
.
The object intData(cd)
is updated by reference. Thus, intData(cd)
will be altered. See vignette for further information.
Mikhail Spivakov, Jonathan Cairns, Paula Freire Pritchett
data(cdUnitTest) ##modifications to cdUnitTest, ensuring it uses correct design directory designDir <- file.path(system.file("extdata", package="Chicago"), "unitTestDesign") cdUnitTest <- modifySettings(cd=cdUnitTest, designDir=designDir) cdUnitTest <- normaliseBaits(cdUnitTest)