ArchRCellCounting: ArchR function: Plot table of cell counts from different...

View source: R/ArchR_CellCounting.R

ArchRCellCountingR Documentation

ArchR function: Plot table of cell counts from different groups

Description

This function counts how many cells from each cluster/sample are assigned the same label/cluster

Usage

ArchRCellCounting(
  ArchR = ArchR,
  group1 = "clusters",
  group2 = "stage",
  print_table = TRUE,
  scHelper_cell_type_order = scHelper_cell_type_order
)

Arguments

ArchR

ArchR object

group1

first column to split cells by

group2

second column to split cells by

print_table

boolean to print table or return it

scHelper_cell_type_order

order in which to return cell types

Value

table of cell counts, or plots table directly


alexthiery/scHelper documentation built on Aug. 26, 2023, 3:42 p.m.