Plot the distribution of the number of samples where features are detected.

plotDetectedInSamples(dfNA)

Arguments

dfNA

A DFrame or data.frame with at least columns "name", "nNA" and "pNA", representing the feature name and the number and fraction of missing values.

Value

A ggplot object.

Author

Charlotte Soneson

Examples

sce <- readRDS(system.file("extdata", "mq_example", "1356_sce.rds",
                           package = "einprot"))
plotDetectedInSamples(SummarizedExperiment::rowData(sce))