Skip to contents

Pseudobulk groups

Usage

pseudo_groups(sce, assay_name, group_var = NULL, FUN = mean, na.rm = TRUE, ...)

Arguments

sce

sce obj

assay_name

One or more assays to pseudobulk

group_var

grouping variable

FUN

funtion to use when pseudobulking

na.rm

logical – remove NAs in FUN

...

additional parameters to pass to FUN

Value

A pseudobulked sce obj