get_counts_index: get_counts_index

Description Usage Arguments Value

Description

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).

Usage

1
get_counts_index(n_assays, assay_names)

Arguments

n_assays

How many assays are there? ie: length(assays(dataset_se))

assay_names

What are the assays called? ie: names(assays(dataset_se))

Value

The index of an assay in assays called 'counts', or, if there's just the one unnamed assay - happily assume that that is counts.


MonashBioinformaticsPlatform/celaref documentation built on June 5, 2019, 11:35 a.m.