topData-methods: Data of top genes/probes

Description Usage Arguments Value Examples

Description

Extract expression data for top genes/probes

Usage

1
2
3
4
5
topData(object, id = NULL, fdr = NULL, top = 16, sort.by = "p-value")

## S4 method for signature 'Rnits'
topData(object, id = NULL, fdr = NULL, top = 16,
  sort.by = "p-value")

Arguments

object

Rnits object on which fit has been applied

id

Names of probes or genes

top

Display results for top N genes/probes. Default 50

fdr

Display results for genes/probes less than FDR cutoff (if provided). Overrides top argument

sort.by

Sort top results by either p-value or FDR

Value

A table of expression values of top genes/profiles

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# load pre-compiled expressionSet object for Ronen and Botstein yeast  chemostat data
data(yeastchemostat)
rnitsobj = build.Rnits(yeastchemostat, logscale = TRUE, normmethod = 'Between')
## Not run: 
# Fit model using gene-level summarization
rnitsobj <- fit(rnitsobj, gene.level = TRUE, clusterallsamples = FALSE)

#Get data for top genes
td <- topData(rnitsobj, FDR = 5)


## End(Not run)

Rnits documentation built on Nov. 8, 2020, 6:26 p.m.