mcell_mc_split_by_color_group: Splits input metacell object into sub-objects by color group,...

View source: R/mc.r

mcell_mc_split_by_color_groupR Documentation

Splits input metacell object into sub-objects by color group, naming the new metacells <mc_id>_submc_<group>

Description

Splits input metacell object into sub-objects by color group, naming the new metacells <mc_id>_submc_<group>

Usage

mcell_mc_split_by_color_group(
  mc_id,
  mat_id,
  min_cells_per_sub_mc = 500,
  col2grp = NULL
)

Arguments

mc_id

input mc object

mat_id

mat object corresponsing to mc_id

min_cells_per_sub_mc

minimum number of cells per group required to create a new metacell

col2grp

mapping of mc colors to groups, by default, use the color_key slot


tanaylab/metacell documentation built on Oct. 19, 2023, 1:01 p.m.