This function summarizes a numeric cellColData entry across groupings in a ArchRProject.

getGroupSummary(
  ArchRProj = NULL,
  groupBy = "Sample",
  select = "TSSEnrichment",
  summary = "median",
  removeNA = TRUE
)

Arguments

ArchRProj

An ArchRProject object.

groupBy

The name of the column in cellColData to use for grouping multiple cells together for summarizing information.

select

A character vector containing the column names to select from cellColData.

summary

A character vector describing which method for summarizing across group. Options include "median", "mean", or "sum".

removeNA

Remove NA's from summary method.