The sex is computed by normalising the identifier using fc_neuron and then using the middle letter (e.g. -M-) to identify the sex.
fc_sex(x, ignore.case = TRUE)
x | Vector of flycircuit identifiers (integer idid, chaacter/factor gene_name/Name) |
---|---|
ignore.case | whether to ignore the case of the input. |
a character vector with values "M", "F" or NA_character_
fc_sex(1)#> [1] "M"#> [1] "M" "M"