Skip to contents

Cell binning

Usage

bin_cells(expr, pseudotime, cellanno, interval_len = 50)

Arguments

expr

The normalized gene expression matrix. Rows represent genes and columns represent cells

pseudotime

The vector of user-provided pseudotime values

cellanno

The vector indicating which sample each cell belongs to

interval_len

Number of consecutive intervals (50 by default)

Value

A list including "expr", "pseudotime", and "cellanno" of the metacells