get_table | R Documentation |
Generates a dataframe showing region acronyms, their full name, hierachical paths, total cell counts, left and right counts, and cell count percentages.
get_table(dataset, rois = c("CH", "BS"), base = "grey")
dataset |
(required) Whole brain dataset returned as an output of the
|
rois |
(optional, default = c("CH", "BS")) The acronyms of the regions of interest. Acronyms must follow Allen Brain Atlas abbreviation standards. |
base |
(optional, default = "grey") The base parent region you want subregions traced back to. Note, base region MUST be a higher parent level or the same level of the roi/rois provided to the rois argument. |
Returns table, a dataframe showing total, left and right cell counts and count percentages according region acryonym.
# Get cell counts of the hypothalamus table <- get_table(dataset, rois = "HY", base = "HY") # Get cell counts of all grey matter table <- get_table(dataset, rois = "grey", base = "grey") # Get cell counts of hypothalamus and all parent structures of the hypothalamus up to gray matter table <- get_table(dataset, rois = "HY", base = "grey")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.