fc_neuron_type | R Documentation |
fc_neuron_type
depends on a more generic worker function
fc_annotated_class
, which may be used to construct other convenience
functions.
fc_neuron_type(x = NULL, regex = NULL, ...) fc_annotated_class(class, x = NULL, regex = NULL, ...)
x |
A neuron identifier. When missing defaults to all neurons annotated with the given annotation class. |
regex |
An optional |
... |
Additional arguments passed to |
class |
The annotation class to select (for codefc_annotated_class). |
In our schema, annotations are key-value pairs in which an annotation class, such as NeuronType, may have multiple values (e.g. gamma Kenyon cell).
a character vector of annotation values, named by the neuron identifier
grepl
, fc_gene_name
,
# how many neurons are annotated with any type? length(fc_neuron_type()) # how many types of neuron length(unique(fc_neuron_type())) # how many neurons of each type are present table(fc_neuron_type()) # find all the Kenyon cells table(fc_neuron_type(regex="Kenyon")) table(fc_neuron_type(regex="gamma Kenyon")) table(fc_neuron_type(regex="gamma.*Kenyon"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.