getCID-methods: Cluster IDs of probes/genes from fitted 'Rnits'

Description Usage Arguments Details Value Examples

Description

Retrieve cluster IDs of probes/genes from fitted Rnits object after fit has been run.

Usage

1
2
3
4
getCID(object)

## S4 method for signature 'Rnits'
getCID(object)

Arguments

object

Rnits

Details

If cluster = False during fitting, a vector of 1s will be returned.

Value

A vector of cluster IDs corresponding to gene/probe names

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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 cluster IDs from fitted model
cid <- getCID(rnitsobj)

## End(Not run)

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