join_features: join_features

join_featuresR Documentation

join_features

Description

join_features() extracts and joins information for specific features

Usage

## S4 method for signature 'Seurat'
join_features(
  .data,
  features = NULL,
  all = FALSE,
  exclude_zeros = FALSE,
  shape = "long",
  assay = NULL,
  slot = "data",
  ...
)

Arguments

.data

A tidyseurat object

features

A vector of feature identifiers to join

all

If TRUE return all

exclude_zeros

If TRUE exclude zero values

shape

Format of the returned table "long" or "wide"

assay

assay name to extract feature abundance

slot

slot name to extract feature abundance

...

Parameters to pass to join wide, i.e. assay name to extract feature abundance from and gene prefix, for shape="wide"

Details

This function extracts information for specified features and returns the information in either long or wide format.

Value

A 'tidyseurat' object containing information for the specified features.

Examples

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


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