SEACells_MetacellFrequencies: SEACells function: Frequency of metacells in each category

View source: R/SEACells_MetacellFrequencies.R

SEACells_MetacellFrequenciesR Documentation

SEACells function: Frequency of metacells in each category

Description

Function to take seurat object and a category and make a freq table of how frequently metacells found in each category

Usage

SEACells_MetacellFrequencies(
  seurat,
  metacell_slot = "SEACell",
  category = "stage",
  calc_proportions = FALSE
)

Arguments

seurat

seurat object

metacell_slot

slot in seurat metadata by which to group cells for summarising, default is "SEACell"

category

slot in seurat metadata by which to count metacell frequencies, default is "stage"

calc_proportions

boolean as to whether to calculate proportions of metacells in each category

Value

dataframe of either frequency of metacells in each category or proportions of metacells in each category


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