R/wrap_add_expression.R
add_expression.Rd
Add count and normalised expression values to a dataset
add_expression(dataset, counts, expression, feature_info = NULL, ...) is_wrapper_with_expression(dataset) get_expression(dataset, expression_source = "expression")
dataset | A dataset created by |
---|---|
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 dataset |
expression_source | The source of expression, can be "counts", "expression", an expression matrix, or another dataset which contains expression |