Learn R Programming

manta (version 1.18.0)

nr: Print out all the normalization ratios for each subset in a specified taxinomic rank of a manta object

Description

.

Usage

nr(obj, meta.lev, pair)

Arguments

obj
A manta object.
meta.lev
which taxinomic rank to use for subset normalization estimation.
pair
A named vector of conditions factors

Value

table of normalization ratios

See Also

manta, meta2manta

Examples

Run this code


manta.path <- system.file("extdata","PapaGO-BLAST.results-diatoms.Rdata", package="manta")
load(manta.path)
x <- calcNormFactors(x)

conditions <- factor(x=1:2, labels=c('ambient','plusFe')); names(conditions) <- c('ref','obs')
			
nr(x, meta.lev='genus_sp', pair=conditions)			

Run the code above in your browser using DataLab