get_counts_index {celaref} | R Documentation |
get_counts_index
is an internal utility function to find out where
the counts are (if anywhere.). Stops if there's no assay called 'counts',
(unless there is only a single unnamed assay).
get_counts_index(n_assays, assay_names)
n_assays |
How many assays are there? ie: length(assays(dataset_se)) |
assay_names |
What are the assays called? ie: names(assays(dataset_se)) |
The index of an assay in assays called 'counts', or, if there's just the one unnamed assay - happily assume that that is counts.