tidy.brain: Tidy 3D brain image data

Description Usage Arguments Examples

View source: R/radial_bridge.R

Description

Tidy 3D brain image data

Usage

1
2
## S3 method for class 'brain'
tidy(x, type = "wildtype", threshold.n = 0.9, ...)

Arguments

x

An lm object created by stats::lm().

...

Additional arguments. Not used. Needed to match generic signature only. Cautionary note: Misspelled arguments will be absorbed in ..., where they will be ignored. If the misspelled argument has a default value, the default value will be used. For example, if you pass conf.lvel = 0.9, all computation will proceed using conf.level = 0.95. Additionally, if you pass newdata = my_tibble to an augment() method that does not accept a newdata argument, it will use the default value for the data argument.

threshold

probability below which points will be discarded

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
file <- "~/Data/barresi/AT_1_Probabilities.h5"
## Not run: 
if (require(dplyr)) {
  tidy_brain <- file %>%
    read_h5() %>%
    tidy()
  class(tidy_brain)
  glimpse(tidy_brain)
}

## End(Not run)

beanumber/cranium documentation built on Oct. 17, 2019, 11:03 a.m.