Add count and normalised expression values to a model

add_expression(model, counts, expression, feature_info = NULL, ...)

is_wrapper_with_expression(model)

get_expression(model, expression_source = "expression")

Arguments

model

The model to which expression will be added

counts

The counts with genes in columns and cells in rows

expression

The normalised expression values with genes in columns and cells in rows

feature_info

Optional meta-information of the features, a data.frame with at least feature_id as column

...

extra information to be stored in the model

expression_source

The source of expression, can be "counts", "expression", an expression matrix, or another model which contains expression