| plot_frequency {DEP} | R Documentation |
plot_frequency generates a barplot
of the protein overlap between samples
plot_frequency(se, plot = TRUE)
se |
SummarizedExperiment, Data object for which to plot observation frequency. |
plot |
Logical(1),
If |
Barplot of overlap of protein identifications
between samples (generated by ggplot)
# 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 frequency
filt <- filter_missval(se, thr = 0)
plot_frequency(filt)