| anota2seqGetContrasts {anota2seq} | R Documentation |
Retrieve from an Anota2seqDataSet the contrast matrix that is used in the analysis
anota2seqGetContrasts(object) ## S4 method for signature 'Anota2seqDataSet' anota2seqGetContrasts(object)
object |
A Anota2seqDataSet. |
A matrix containing information about the analyzed contrasts to be used for the analysis.
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)
# Run analysis of differential translation
Anota2seqDataSet <- anota2seqAnalyze(Anota2seqDataSet,
analysis = "translation")
contr <- anota2seqGetContrasts(Anota2seqDataSet)
contr
# treatment
# ctrl -1
# treatment 1