getGroupSummary.Rd
This function summarizes a numeric cellColData entry across groupings in a ArchRProject.
getGroupSummary(
ArchRProj = NULL,
groupBy = "Sample",
select = "TSSEnrichment",
summary = "median",
removeNA = TRUE
)
An ArchRProject
object.
The name of the column in cellColData
to use for grouping multiple cells together for summarizing information.
A character vector containing the column names to select from cellColData
.
A character vector describing which method for summarizing across group. Options include "median", "mean", or "sum".
Remove NA's from summary method.
# Get Test ArchR Project
proj <- getTestProject()
# Get Group Summary
getGroupSummary(proj, groupBy = "Clusters", select = "TSSEnrichment", summary = "mean")