cqn(counts, x, lengths, sizeFactors = NULL, subindex = NULL, tau = 0.5, sqn = TRUE, lengthMethod = c("smooth", "fixed"), verbose = FALSE)
"print"(x, ...)
matrix
of region by sample
counts. Ought to have integer values.
NULL
this is calculated as the column
sums of counts
.
counts
. If
not given, this becomes the indices of genes with row means of
counts
greater then 50.
rq
, it indicates what quantile is
being fit. The default should only be changed by expert users..
list
with the following components
counts
.x
.lengths
.sizeFactors
. In case
the argument was NULL
, this is the value used internally.subindex
. In case
the argument was NULL
, this is the value used internally.x
). This is a matrix of
function values on a grid. Columns are samples and rows are grid points.x
) was evaluated.x
).x
, which will typicall be GC
content. The effect of lengths
will either be modelled as a
smooth function (which we recommend), if you are using
lengthMethod = "smooth"
or
as an offset (equivalent to modelling using RPKMs), if you are using
lengthMethod = "fixed"
. Length can be complete removed from
the model by having lengthMethod = "fixed"
and setting all
lengths to 1000. Final corrected values are equal to value$y + value$offset
.
data(montgomery.subset)
data(sizeFactors.subset)
data(uCovar)
cqn.subset <- cqn(montgomery.subset, lengths = uCovar$length,
x = uCovar$gccontent, sizeFactors = sizeFactors.subset,
verbose = TRUE)
Run the code above in your browser using DataLab