which_genes_regex | R Documentation |
Get indices of genes whose annotation matches a regex.
which_genes_regex(sce, regex, colname = "Symbol", ignore_case = TRUE)
sce |
A |
regex |
A character scalar. |
colname |
A character scalar: name of column in |
ignore_case |
A logical scalar: if |
An integer vector: indices of rowData(sce)
matching the regex
.
## Not run:
# Indices of mitochondrial genes.
which_genes_regex(sce, regex = "^MT-", colname = "Symbol", ignore_case = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.