Create a data structure to hold the RNA-Seq read counts and other relevant information.
prepare.nb.data(counts, lib.sizes = colSums(counts), norm.factors = rep(1,
dim(counts)[2]), tags = NULL)an mxn matrix of RNA-Seq read counts with rows corresponding to gene features and columns corresponding to independent biological samples.
an n-vector of observed library sizes.
By default, library sizes are estimated to the column
totals of the matrix counts.
an n-vector of normalization factors. By default, have values 1 (no normalization is applied).
a matrix of tags associated with genes, one
row for each gene (having the same number of rows as
counts.
A list containing the following components:
the count matrix, same as input.
observed library sizes, same as input.
normalization factors, same as input.
effective library sizes
(lib.sizes x norm.factors).
relative frequencies (counts divided by the effective library sizes).
a matrix of gene tags, same as input.