Learn R Programming

Rnits (version 1.6.2)

getCID: Cluster IDs of probes/genes from fitted Rnits

Description

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

Usage

getCID(object)
"getCID"(object)

Arguments

object
Rnits

Value

A vector of cluster IDs corresponding to gene/probe names

Details

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

Examples

Run this code
# 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)

Run the code above in your browser using DataLab