head | R Documentation |
Return the first part of the result table in the gessResult
,
and feaResult
objects
## S4 method for signature 'gessResult'
head(x, n = 6L, ...)
## S4 method for signature 'feaResult'
head(x, n = 6L, ...)
x |
an object |
n |
a single integer. If positive or zero, size for the resulting object is the number of rows for a data frame. If negative, all but the n last number of rows of x. |
... |
arguments to be passed to or from other methods |
data.frame
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")
head(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"))
head(fr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.