join_features {tidySingleCellExperiment} | R Documentation |
join_features() extracts and joins information for specific features
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 tbl
containing the information.for the specified features
tidySingleCellExperiment::pbmc_small %>% join_features(features=c("HLA-DRA", "LYZ"))