read_protein_counts: Reading protein read counts

View source: R/read.R

read_protein_countsR Documentation

Reading protein read counts

Description

read_protein_counts retrieves the protein read counts in an h5f.

Usage

read_protein_counts(
  h5f,
  transpose = c(TRUE, FALSE),
  index_cells = NULL,
  normalization = c("clr", "raw")
)

Arguments

h5f

h5f

transpose

Boolean. If TRUE, columns represent proteins and rows represent cells.

index_cells

A numeric vector. Specifies which cells to retrieve.

normalization

Either clr or raw. Defaults to clr, as implemented by the compositions package.

Value

matrix

Examples

path <- "path/to/.h5"
h5f <- read_h5(path)

read_protein_counts(h5f)

northNomad/tapestri.tools documentation built on May 31, 2024, 4:44 p.m.