metacells_cluster: Metacells by clustering within communities.

View source: R/metacells_cluster.R

metacells_clusterR Documentation

Metacells by clustering within communities.

Description

Metacells by clustering within communities.

Usage

metacells_cluster(
  groups.df,
  ge_df,
  metacell_size,
  nb_cores = 1,
  hclust_method = "ward.D"
)

Arguments

groups.df

the filtered data.frame with community information

ge_df

normalized gene expression of all cells (e.g. output from norm_ge.

metacell_size

the number of cells in a metacell.

nb_cores

the number of processor to use.

hclust_method

the 'method' used when clustering (see hclust).

Value

a list with

cells.tm

a list with cell names for each metacell.

cells.info

a data.frame recording the community of origina for each metacell.

Author(s)

Jean Monlong


jmonlong/scCNAutils documentation built on May 3, 2022, 4:34 a.m.