Learn R Programming

tidyseurat (version 0.8.0)

get_abundance_sc_wide: get abundance wide

Description

get abundance wide

Usage

get_abundance_sc_wide(
  .data,
  features = NULL,
  all = FALSE,
  assay = .data@active.assay,
  slot = "data",
  prefix = ""
)

Value

A Seurat object

Arguments

.data

A tidyseurat

features

A character

all

A boolean

assay

assay name to extract feature abundance

slot

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

prefix

prefix for the feature names

Examples

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

Run the code above in your browser using DataLab