Description Usage Arguments Value Examples
View source: R/brainImageClass.R
Sets tissue class thresholds for this object. Thresholds can be caluclated with identifyMinima().
1 | setThresholds(img, thresholds)
|
img |
brainImage instance |
thresholds |
data.frame with key/val columns, calculated with identifyMinima() |
adjusted imageBrain object
1 2 3 4 5 | data <- data.frame(x=1:15, y=1:15,
z=c(rep(2,15), rep(3,15)), val=rnorm(6750))
img <- new("brainImage", data, "test", 10)
img <- setThresholds(img,
imageanalysisBrain::identifyMinima(getMeasurements(img), iterat=1000))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.