metacells_subsample: Metacells by subsampling within communities.

View source: R/metacells_subsample.R

metacells_subsampleR Documentation

Metacells by subsampling within communities.

Description

Metacells by subsampling within communities.

Usage

metacells_subsample(groups.df, nb_metacells, metacell_size)

Arguments

groups.df

the filtered data.frame with community information

nb_metacells

the number of metacells per comunity.

metacell_size

the number of cells in a metacell.

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.