brain_join | R Documentation |
Joins data frame with a brain-atlas object.
brain_join(data, atlas, by = NULL)
data |
data.frame |
atlas |
atlas data |
by |
optional character vector of column to join by |
either an sf-object (if brain atlas) or a tibble (if ggseg-atlas) with merged atlas and data
someData = data.frame( region = c("transverse temporal", "insula", "precentral","superior parietal"), p = sample(seq(0,.5,.001), 4), stringsAsFactors = FALSE) brain_join(someData, dk) brain_join(someData, dk, "region")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.