anota2seqGetContrasts: Accessor for the 'contrasts' slot of an Anota2seqDataSet...

Description Usage Arguments Value See Also Examples

Description

Retrieve from an Anota2seqDataSet the contrast matrix that is used in the analysis

Usage

1
2
3
4
anota2seqGetContrasts(object)

## S4 method for signature 'Anota2seqDataSet'
anota2seqGetContrasts(object)

Arguments

object

A Anota2seqDataSet.

Value

A matrix containing information about the analyzed contrasts to be used for the analysis.

See Also

Anota2seqDataSet-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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

anota2seq documentation built on Nov. 8, 2020, 6 p.m.