Learn R Programming

Rnits (version 1.6.2)

getLR: Get log-ratios

Description

Extract normalized log-ratios from Rnits object

Usage

getLR(object, impute = FALSE)
"getLR"(object, impute = FALSE)

Arguments

object
Rnits object
impute
If TRUE, perform K-NN imputation to fill missing values

Value

A matrix of normalized log-ratios.

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 logratios
# lr <- getLR(rnitsobj)
# ## End(Not run)

Run the code above in your browser using DataLab