Description Usage Arguments Value Examples
View source: R/wrapper_functions.R
analyze_dep
tests for differential expression of proteins
based on protein-wise linear models and empirical Bayes
statistics using limma.
1 2 3 |
se |
SummarizedExperiment,
Proteomics data with unique names and identifiers
annotated in 'name' and 'ID' columns.
Additionally, the colData should contain sample annotation including
'label', 'condition' and 'replicate' columns.
The appropriate columns and objects can be generated
using |
type |
"all", "control" or "manual", The type of contrasts that will be tested. This can be all possible pairwise comparisons ("all"), limited to the comparisons versus the control ("control"), or manually defined contrasts ("manual"). |
control |
Character(1), The condition to which contrasts are generated (a control condition would be most appropriate). |
alpha |
Numeric(1), Sets the threshold for the adjusted P value. |
lfc |
Numeric(1), Sets the threshold for the log2 fold change. |
test |
Character, The contrasts that will be tested if type = "manual". These should be formatted as "SampleA_vs_SampleB" or c("SampleA_vs_SampleC", "SampleB_vs_SampleC"). |
design_formula |
Formula, Used to create the design matrix. |
A SummarizedExperiment object containing FDR estimates of differential expression and logical columns indicating significant proteins.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Load datasets
data <- UbiLength
exp_design <- UbiLength_ExpDesign
# Import and process data
se <- import_MaxQuant(data, exp_design)
processed <- process(se)
# Differential protein expression analysis
dep <- analyze_dep(processed, "control", "Ctrl")
dep <- analyze_dep(processed, "control", "Ctrl",
alpha = 0.01, lfc = log2(1.5))
dep <- analyze_dep(processed, "manual", test = c("Ubi6_vs_Ubi4"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.