Description Usage Arguments Value Examples
View source: R/plot_functions_frequencies.R
plot_numbers
generates a barplot
of the number of identified proteins per sample.
1 | plot_numbers(se, plot = TRUE)
|
se |
SummarizedExperiment,
Data object for which to plot protein numbers
(output from |
plot |
Logical(1),
If |
Barplot of the number of identified proteins per sample
(generated by ggplot
)
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 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)
# Filter and plot numbers
filt <- filter_missval(se, thr = 0)
plot_numbers(filt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.