Description Usage Arguments Value Examples
View source: R/plot_functions_QC.R
meanSdPlot
generates a hexagonal heatmap
of the row standard deviations versus row means
from SummarizedExperiment objects.
See meanSdPlot
.
1 2 |
x |
SummarizedExperiment, Data object. |
ranks |
Logical, Whether or not to plot the row means on the rank scale. |
xlab |
Character, x-axis label. |
ylab |
Character, y-axis label. |
pch |
Ignored - exists for backward compatibility. |
plot |
Logical, Whether or not to produce the plot. |
bins |
Numeric vector, Data object before normalization. |
... |
Other arguments,
Passed to |
A scatter plot of row standard deviations
versus row means(generated by stat_binhex
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # 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 normalize
filt <- filter_missval(se, thr = 0)
norm <- normalize_vsn(filt)
# Plot meanSdPlot
meanSdPlot(norm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.