prot.workflow | R Documentation |
prot.workflow
performs variance stabilization normalization (prot.normalize_vsn
), missing value imputation (prot.impute
), principal component analysis (prot.pca
), differential enrichment test (prot.test_diff
), and pathway enrichment analysis. If desired, standardized plots and a report are generated and exported as separate files.
prot.workflow(
se,
normalize = TRUE,
imp_fun = c("SampMin", "man", "bpca", "knn", "QRILC", "MLE", "MinDet", "MinProb",
"min", "zero", "mixed", "nbavg"),
q = 0.01,
knn.rowmax = 0.5,
type = c("all", "control", "manual"),
control = NULL,
contrast = NULL,
alpha = 0.05,
alpha_pathways = 0.1,
lfc = 1,
heatmap.show_all = TRUE,
heatmap.kmeans = F,
k = 6,
heatmap.col_limit = NA,
heatmap.show_row_names = TRUE,
heatmap.row_font_size = 6,
volcano.add_names = FALSE,
volcano.label_size = 2.5,
volcano.adjusted = TRUE,
plot = FALSE,
export = FALSE,
report = TRUE,
report.dir = NULL,
pathway_enrichment = FALSE,
pathway_kegg = FALSE,
kegg_organism = NULL,
custom_pathways = NULL,
out.dir = NULL
)
se |
|
normalize |
(Logical) Should the data be normalized via variance stabilization normalization? |
imp_fun |
(Character string) Function used for data imputation. "SampMin", "man", "bpca", "knn", "QRILC", "MLE", "MinDet", "MinProb", "min", "zero", "mixed", or "nbavg". See ( |
q |
(Numeric) q value for imputing missing values with method |
knn.rowmax |
(Numeric) The maximum percent missing data allowed in any row for |
type |
(Character string) Type of differential analysis to perform. "all" (contrast each condition with every other condition), "control" (contrast each condition to a defined control condition), "manual" (manually define selected conditions). |
control |
(Character string) The name of the control condition if |
contrast |
(Character string or vector of strings) Define the contrasts to be tested if |
alpha |
(Numeric) Significance threshold for adjusted p values. |
alpha_pathways |
(Numeric) Significance threshold for adjusted p values in pathway enrichment analysis. |
lfc |
(Numeric) Relevance threshold for log2(fold change) values. Only proteins with a |log2(fold change)| value above |
heatmap.show_all |
(Logical) Shall all samples be displayed in the heat map ( |
heatmap.kmeans |
(Logical) Shall the proteins be clustered in the heat map with the k-nearest neighbour method ( |
k |
(Integer) Number of protein clusters in heat map if |
heatmap.col_limit |
(Integer) Define the outer breaks in the heat map legend. Example: if |
heatmap.show_row_names |
(Logical) Show protein names in heat map ( |
heatmap.row_font_size |
(Numeric) Font size of protein names in heat maps if |
volcano.add_names |
(Logical) Show protein names in volcano plots ( |
volcano.label_size |
(Numeric) Font size of protein names in volcano plots if |
volcano.adjusted |
(Logical) Shall adjusted p values be shown on the y axis of volcano plots ( |
plot |
(Logical) Show the generated plots in the |
export |
(Logical) Exported the generated plots as PNG and PDF files ( |
report |
(Logical) Render and export a report in PDF and HTML format that summarizes the results ( |
report.dir |
(Character string) Provide the name of or path to a folder into which the report will be saved. |
pathway_enrichment |
(Logical) Perform pathway over-representation analysis for each tested contrast ( |
pathway_kegg |
(Logical) Perform pathway over-representation analysis with gene sets in the KEGG database ( |
kegg_organism |
(Character string) Identifier of the organism in the KEGG database (if |
custom_pathways |
(a R dataframe object) Data frame providing custom pathway annotations. The table must contain a "Pathway" column listing identified pathway in the studies organism, and an "Accession" column listing the proteins (or genes) each pathway is composed of. The Accession entries must match with protein IDs. |
out.dir |
(Character string) absolute path to the location where result TXT files should be exported to. |
A list containing SummarizedExperiment
object for every computation step of the workflow, a pca
object, and lists of up- or down regulated pathways for each tested contrast and method (KEGG and/or custom).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.