View source: R/makeNanoStringSetFromEset.R
makeNanoStringSetFromEset | R Documentation |
Convert ExpressionSet from processNanoStringData to a NanoStringSet for use with the NanoStringDiff package.
makeNanoStringSetFromEset(eset, designs = NULL)
eset |
NanoString data ExpressionSet, from processNanostringData |
designs |
Design matrix. If NULL, will look for "groups" column in pData(eset). |
A NanoStringSet for NanoStringDiff
# Example data
example_data <- system.file("extdata", "GSE117751_RAW", package = "NanoTube")
sample_data <- system.file("extdata", "GSE117751_sample_data.csv",
package = "NanoTube")
# Load data without normalization
dat <- processNanostringData(nsFiles = example_data,
sampleTab = sample_data, groupCol = "Sample_Diagnosis",
normalization = "none")
# Convert to NanoStringSet
dat.ns <- makeNanoStringSetFromEset(dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.