SC_from_membership: Builds super-cell object from a single-cell NW and a...

Description Usage Arguments Value

View source: R/compute_alternative_SC.R

Description

Builds super-cell object from a single-cell NW and a membership vector

Usage

1
2
3
4
5
6
7
8
9
SC_from_membership(
  sc.nw,
  membership,
  gname,
  resolution = NULL,
  N.comp = NULL,
  genes.use = NULL,
  return.singlecell.NW = FALSE
)

Arguments

sc.nw

igraph single-cell network

membership

super-cell membership vector

gname

graph name

resolution

clustering resolution (for louvain clustering)

N.comp

number (or vector) of principal components used to build super-cells

genes.use

genes used to build super-cells

return.singlecell.NW

whether to return single-cell network

Value

the same as SCimplify with an additional field - 'res' for the resolution usign in FindClusters to obtain super-cell membership


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