Learn R Programming

tidyseurat (version 0.8.0)

get_abundance_sc_long: get abundance long

Description

get abundance long

Usage

get_abundance_sc_long(
  .data,
  features = NULL,
  all = FALSE,
  exclude_zeros = FALSE,
  assay = Assays(.data),
  slot = "data"
)

Value

A Seurat object

Arguments

.data

A tidyseurat

features

A character

all

A boolean

exclude_zeros

A boolean

assay

assay name to extract feature abundance

slot

slot in the assay, e.g. `data` and `scale.data`

Examples

Run this code
data(pbmc_small)
pbmc_small %>%
  get_abundance_sc_long(features=c("HLA-DRA", "LYZ"))

Run the code above in your browser using DataLab