Learn R Programming

metagenomeSeq (version 1.14.0)

exportMat: Export the normalized MRexperiment dataset as a matrix.

Description

This function allows the user to take a dataset of counts and output the dataset to the user's workspace as a tab-delimited file, etc.

Usage

exportMat(obj, log = TRUE, norm = TRUE, sep = "\t", file = "~/Desktop/matrix.tsv")

Arguments

obj
A MRexperiment object or count matrix.
log
Whether or not to log transform the counts - if MRexperiment object.
norm
Whether or not to normalize the counts - if MRexperiment object.
sep
Separator for writing out the count matrix.
file
Output file name.

Value

NA

See Also

cumNorm

Examples

Run this code

# see vignette

Run the code above in your browser using DataLab