exportMat | R Documentation |
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.
exportMat(
obj,
log = TRUE,
norm = TRUE,
sep = "\t",
file = "~/Desktop/matrix.tsv"
)
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. |
NA
cumNorm
data(lungData)
dataDirectory <- system.file("extdata", package="metagenomeSeq")
exportMat(lungData[,1:5],file=file.path(dataDirectory,"tmp.tsv"))
head(read.csv(file=file.path(dataDirectory,"tmp.tsv"),sep="\t"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.