row_mean_grouped {sctransform}R Documentation

Arithmetic mean per row grouped by a factor

Description

Arithmetic mean per row grouped by a factor

Usage

row_mean_grouped(x, group)

Arguments

x

matrix of class dgCMatrix

group

factor to group the columns by (will be converted using as.factor and droplevels)

Value

matrix of arithmetic means


[Package sctransform version 0.3 Index]