plotTotals: Plot the column totals of a selected assay

View source: R/plotTotals.R

plotTotalsR Documentation

Plot the column totals of a selected assay

Description

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(s)

Charlotte Soneson

Examples

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


fmicompbio/mutscan documentation built on Nov. 18, 2024, 11:42 p.m.