Description Usage Arguments Details Value Examples
View source: R/quantifyViaLoadings.R
The function plotECDF
creates an empirical cumulative distribution
function (ECDF) plot of the loadings distribution of marker and non-markers.
1 | plotECDF(values, markers, PC = "PC1")
|
values |
|
markers |
tbl |
PC |
character, has to be in the format |
The function plotECDF
takes as input a tibble
(tbl
)
that stores the loading values in the column "value"
and the
information on marker/non-marker in the column "type"
.
gg
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(MatrixQCvis)
library(SummarizedExperiment)
## load data set of Tanzer et al. (2020)
## source: https://www.ebi.ac.uk/pride/archive/projects/PXD014966
f <- system.file("protein_datasets/tanzer2020.RDS",
package = "apoptosisQuantification")
tanzer2020 <- readRDS(f)
## get loadings of markers and of the complete data set
prot <- assay(tanzer2020)
markers <- readMarkers(type = "apoptosis")
## plot the distribution as ECDF
plotECDF(values = prot, markers = markers, PC = "PC1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.