Skip to contents

# Read the feature dataset presence matrix.

Source: `R/get_helpers.R`
`get_presence_matrix.Rd`

Read the feature dataset presence matrix.

## Usage

    get_presence_matrix(census, organism, measurement_name = "RNA")

## Arguments

census

  The census object, usually returned by `cellxgene.census::open_soma()`.

organism

  The organism to query, usually one of `Homo sapiens` or `Mus musculus`

measurement_name

  The measurement object to query. Defaults to `RNA`.

## Value

a Matrix::sparseMatrix with dataset join id & feature join id dimensions, filled with 1s indicating presence