proportions_by_factors: Extract the proportions of each group/sample in a scd.

View source: R/singlecell.R

proportions_by_factorsR Documentation

Extract the proportions of each group/sample in a scd.

Description

Extract the proportions of each group/sample in a scd.

Usage

proportions_by_factors(
  scd,
  group_factor = "res0p1_clusters",
  sample_factor = "gexcells"
)

Arguments

scd

Seurat single cell dataset.

group_factor

Set of groups to examine.

sample_factor

Column defining the samples.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.