Description Usage Arguments Value Examples
View source: R/plot_functions_frequencies.R
plot_coverage
generates a barplot
of the protein coverage in all samples.
1 | plot_coverage(se, plot = TRUE)
|
se |
SummarizedExperiment, Data object for which to plot observation frequency. |
plot |
Logical(1),
If |
Barplot of protein coverage in samples
(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 coverage
filt <- filter_missval(se, thr = 0)
plot_coverage(filt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.