se2msn: Deprecated Function to coerce SummarizedExperiment to MSnSet...

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Use as instead.

Usage

1
se2msn(se)

Arguments

se

SummarizedExperiment, Object which will be turned into a MSnSet object.

Value

A MSnSet object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Load example
data <- UbiLength
data <- data[data$Reverse != "+" & data$Potential.contaminant != "+",]
data_unique <- make_unique(data, "Gene.names", "Protein.IDs", delim = ";")

# Make SummarizedExperiment
columns <- grep("LFQ.", colnames(data_unique))
exp_design <- UbiLength_ExpDesign
se <- make_se(data_unique, columns, exp_design)

# Convert to MSnSet
data_msn <- as(se, "MSnSet")
# Convert back to SE
se_back <- as(data_msn, "SummarizedExperiment")

arnesmits/DEP documentation built on Aug. 7, 2019, 10:44 a.m.