dim-methods: Dimensions of an Object

Description Usage Arguments Value Examples

Description

Retrieve dimension of the result table in the gessResult, and feaResult objects

Usage

1
2
3
4
5
## S4 method for signature 'gessResult'
dim(x)

## S4 method for signature 'feaResult'
dim(x)

Arguments

x

an R object

Value

dim attribute of the result table

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
gr <- gessResult(result=dplyr::tibble(pert=letters[seq_len(10)], 
                                      val=seq_len(10)), 
                 query=list(up=c("g1","g2"), down=c("g3","g4")),
                 gess_method="LINCS", refdb="path/to/lincs/db")
dim(gr)
fr <- feaResult(result=dplyr::tibble(id=letters[seq_len(10)], 
                                     val=seq_len(10)),
                organism="human", ontology="MF", drugs=c("d1", "d2"), 
                targets=c("t1","t2"))
dim(fr)

signatureSearch documentation built on April 16, 2021, 6 p.m.