list_accession: List-like accessor methods for ImpulseDE2Object

Description Usage Arguments Value Author(s) Examples

Description

Allow usage of ImpulseDE2 ouput object like a list with respect to the core output: dfImpulseDE2Results and vecDEGenes.

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'ImpulseDE2Object'
names(x)

## S4 method for signature 'ImpulseDE2Object,character,missing'
x[[i, j, ...]]

## S4 method for signature 'ImpulseDE2Object'
x$name

Arguments

x

(ImpulseDE2Object) ImpulseDE2 output object.

i, name

(idx or str) Name or index of core output element of ImpulseDE2Object.

j

Not used, only vectors.

...

Not used.

Value

Names of core output in ImpulseDE2Object.

Target element from ImpulseDE2Object.

Target element from ImpulseDE2Object.

Author(s)

David Sebastian Fischer

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
lsSimulatedData <- simulateDataSetImpulseDE2(
vecTimePointsA   = rep(seq(1,8),3),
vecTimePointsB   = NULL,
vecBatchesA      = NULL,
vecBatchesB      = NULL,
scaNConst        = 30,
scaNImp          = 10,
scaNLin          = 10,
scaNSig          = 10)
objectImpulseDE2 <- runImpulseDE2(
matCountData    = lsSimulatedData$matObservedCounts, 
dfAnnotation    = lsSimulatedData$dfAnnotation,
boolCaseCtrl    = FALSE,
vecConfounders  = NULL,
scaNProc        = 1 )
names(objectImpulseDE2) # Display core output
# With respect to this core output, objectImpulseDE2
# can be treated like a list.
head(objectImpulseDE2[['dfImpulseDE2Results']])
head(objectImpulseDE2$dfImpulseDE2Results)
head(objectImpulseDE2[['vecDEGenes']])
head(objectImpulseDE2$vecDEGenes)

ImpulseDE2 documentation built on April 28, 2020, 9:19 p.m.