join_features | R Documentation |
join_features() extracts and joins information for specific features
## S4 method for signature 'SingleCellExperiment'
join_features(
.data,
features = NULL,
all = FALSE,
exclude_zeros = FALSE,
shape = "long",
...
)
.data |
A tidy SingleCellExperiment 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" |
... |
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 'tidySingleCellExperiment' 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.