Description Usage Arguments Value Author(s) Examples
View source: R/miscFunctions.R
Originally written in retrieveFeatureIndex
.
Modified for also retrieving cell indices and only working for
SingleCellExperiment object. This will return indices of
features among the rowData
/colData
. Partial matching (i.e.
grepping) can be used.
1 2 3 4 5 6 7 8 |
inSCE |
Input SingleCellExperiment object. Required |
IDs |
Character vector of identifiers for features or cells to find in
|
axis |
A character scalar to specify whether to search for features or
cells. Use |
by |
Character. In which column to search for features/cells in
|
exactMatch |
A logical scalar. Whether to only identify exact matches
or to identify partial matches using |
firstMatch |
A logical scalar. Whether to only identify the first
matches or to return all plausible matches. Default |
A unique, non-NA numeric vector of indices for the matching
features/cells in inSCE
.
Yusuke Koga, Joshua Campbell
1 2 3 | data(scExample, package = "singleCellTK")
retrieveSCEIndex(inSCE = sce, IDs = "ENSG00000205542",
axis = "row")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.