annotate_supercells_to_cluster: Computes annotation of super-cell types based on the...

Description Usage Arguments Value

View source: R/annotate_supercells_to_clusters.R

Description

Runs supercell_assign and supercell_purity for all super-cell elements in SC.list (output of compute_supercells)

Usage

1
2
3
4
5
6
7
annotate_supercells_to_cluster(
  SC.list,
  sc.annotation,
  annotation.name,
  annotation.meth = "jaccard",
  verbose = FALSE
)

Arguments

SC.list

list of super-cell-like structures (output of compute_supercells)

sc.annotation

vector of cell type / cluster / etc annotation at the single-cell level (length on the vector == number of single cells)

annotation.name

a name of the annotation, will be added as additional SC.list field

annotation.meth

method parameter of supercell_assign function. Default is 'jaccard'

verbose

flag whether to pring progress steps

Value

SC.list with each super-cell element containing additional field annotation.name that contains super-cell annotation


mariiabilous/SuperCellBM documentation built on Jan. 28, 2022, 7:45 p.m.