R/encode_identity_frequency.R
encode_cell_identity_frequency_matrix.Rd
Encode frequencies of (combinations) of values in columns from colData into a matrix with rows as groups and columns as features
encode_cell_identity_frequency_matrix( sce_list, attributes, group_by = c(), normalize = "none" )
sce_list | Llist of SCE objects, all containing relevant attributes in colData as columns |
---|---|
attributes | column names from colData which to encode |
group_by | column names from colData which to group by (compute frequencies per group) |
normalize | normalization method - either "none" or "relative_frequency" |
NULL#> NULL