join_features | R Documentation |
join_features() extracts and joins information for specific features
## S4 method for signature 'Seurat'
join_features(
.data,
features = NULL,
all = FALSE,
exclude_zeros = FALSE,
shape = "long",
assay = NULL,
slot = "data",
...
)
.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" |
This function extracts information for specified features and returns the information in either long or wide format.
A 'tidyseurat' object containing information for the specified features.
data(pbmc_small)
pbmc_small %>% join_features(
features=c("HLA-DRA", "LYZ"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.