Skip to contents

Plot the column totals of a selected assay

Usage

plotTotals(se, selAssay = "counts", groupBy = NULL)

Arguments

se

A SummarizedExperiment object, typically generated by summarizeExperiment().

selAssay

Character scalar specifying the assay in se to use for the plotting.

groupBy

Character scalar indicating a column in rowData(se) to group the features by before calculating the column sums.

Value

A ggplot object.

Author

Charlotte Soneson

Examples

se <- readRDS(system.file("extdata", "GSE102901_cis_se.rds", 
                          package = "mutscan"))[1:200, ]
plotTotals(se)