get_abundance_sc_wide: get abundance wide

View source: R/utilities.R

get_abundance_sc_wideR Documentation

get abundance wide

Description

get abundance wide

Usage

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

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

Value

A Seurat object

Examples

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


tidyseurat documentation built on May 29, 2024, 4:21 a.m.