anota2seqGetContrasts {anota2seq} | R Documentation

## Accessor for the 'contrasts' slot of an Anota2seqDataSet object.

### Description

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

### Usage

    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

    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

[Package anota2seq version 1.8.0 Index]