mcatlas_annotate_mc_by_mc2mc_projection: Annotate query metacell with atlas by comparing query...

View source: R/atlas.r

mcatlas_annotate_mc_by_mc2mc_projectionR Documentation

Annotate query metacell with atlas by comparing query metacell gene profiles to the atlas MCs gene profiles This will take each MC in the query MC and find its to correlated metacell in the reference, gemeratomg some figures along the way/

Description

Annotate query metacell with atlas by comparing query metacell gene profiles to the atlas MCs gene profiles This will take each MC in the query MC and find its to correlated metacell in the reference, gemeratomg some figures along the way/

Usage

mcatlas_annotate_mc_by_mc2mc_projection(
  atlas_id,
  qmc_id,
  qmat_naming_type,
  new_qmc_id,
  q_gset_id = NULL,
  T_cor_gap = 1,
  nd_color = "lightgray",
  fig_cmp_dir = NULL
)

Arguments

atlas_id

id of atlas object in scdb

qmc_id

id of metacell object ina scdb

qmat_naming_type

naming scheme of query matrix/mc

new_qmc_id

id of recolored metacell object to save in DB (NULL will supress updating db)

q_gset_id

query gene set id object (optional) - to restrict features used in comaprison to the intersection of atlas and query gsets

T_cor_gap

how much gap between internal atlas mc-mc correlation and query-atlas correlation one is allowing to keep the annotation.

nd_color

- color for metacell without an annotation

fig_cmp_dir

name of directory to put figures per MC


tanaylab/metacell documentation built on Jan. 29, 2025, 1:34 a.m.