getLR-methods: Get log-ratios

Description Usage Arguments Value Examples

Description

Extract normalized log-ratios from Rnits object

Usage

1
2
3
4
getLR(object, impute = FALSE)

## S4 method for signature 'Rnits'
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

 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 logratios
lr <- getLR(rnitsobj)

## End(Not run)

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