resolve_cl: Tree-based mapping (internal)

View source: R/markerGenesAndMapping.r

resolve_clR Documentation

Tree-based mapping (internal)

Description

Returns the mapped cluster call of each cell to each leaf. This function is called by map_dend

Usage

resolve_cl(
  cl.g,
  cl.med,
  markers,
  dat,
  map.dat,
  select.cells,
  p = 0.7,
  low.th = 0.2
)

Arguments

cl.g

all clusters

cl.med

cluster medians

markers

gene markers

dat

normalized data of the REFERENCE data set

map.dat

normalized data of the MAPPING data set. Default is to map the data onto itself.

select.cells

which cells to use?

p

proportion of marker genes to include in each iteration of the mapping algorithm.

low.th

the minimum difference in Pearson correlation required to decide on which branch to map to. otherwise, a random branch is chosen.

Value

a vector of the mapped cluster


AllenInstitute/mfishtools documentation built on July 5, 2023, 4:20 p.m.