| anota2seqGetNormalizedData {anota2seq} | R Documentation |
Retrieve the data that is used in the analysis (i.e. if raw RNAseq counts were supplied, this function retrieves the normalized counts used in the analysis).
anota2seqGetNormalizedData(object) ## S4 method for signature 'Anota2seqDataSet' anota2seqGetNormalizedData(object)
object |
A Anota2seqDataSet. |
A list of 2 elements named "dataP" and "dataT" containing the corresponding normalized data to be used for the analysis. Note that dataT and dataP have the same sample order such that e.g. column 1 in dataP is the translated mRNA data for a sample, column 1 in dataT is the total mRNA data.
data(anota2seq_data)
# Initialize Anota2seqDataSet
Anota2seqDataSet <- anota2seqDataSetFromMatrix(
dataP = anota2seq_data_P[1:100,],
dataT = anota2seq_data_T[1:100,],
phenoVec = anota2seq_pheno_vec,
dataType = "RNAseq",
normalize = TRUE)
# Get normalized dataP
normDataP <- anota2seqGetNormalizedData(Anota2seqDataSet)[["dataP"]]
head(normDataP)