Produces a module score per cell for the supplied genes

add.cell.cycle(object = obj, assay = 'RAW', slot = 'counts')

Arguments

object

IBRAP S4 class object

assay

A character string containing indicating which assay to use

slot

String indicating which slot within the assay should be sourced

transform

Boolean. If raw counts are supplied, this must be TRUE to normalise data

features

A character vector of genes to be scored

column.name

Character naming the column containing the scores in the metadata dataframe

verbose

Logical should function messages be printed?

seed

Numerical What seed should be set. Default = 1234

Value

IBRAP S4 class object containing module scores for each cell in the metadata

Examples

# object <- add.feature.score(object = object,