View source: R/ProjectMethods.R
getGroupSummary | R Documentation |
This function summarizes a numeric cellColData entry across groupings in a ArchRProject.
getGroupSummary(
ArchRProj = NULL,
groupBy = "Sample",
select = "TSSEnrichment",
summary = "median",
removeNA = TRUE
)
ArchRProj |
An |
groupBy |
The name of the column in |
select |
A character vector containing the column names to select from |
summary |
A character vector describing which method for summarizing across group. Options include "median", "mean", or "sum". |
removeNA |
Remove NA's from summary method. |
# Get Test ArchR Project
proj <- getTestProject()
# Get Group Summary
getGroupSummary(proj, groupBy = "Clusters", select = "TSSEnrichment", summary = "mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.