atlastable {mand} | R Documentation |
Result report with atlas data
Description
This function refers to the results obtained by the analysis in an atlas image, and reports a summary of the results for each anatomical region.
Usage
atlastable(x, y, atlasdataset = NULL, ROIids = NULL, ...)
## S3 method for class 'atlastable'
print(x, ...)
Arguments
x |
an array for the atlas image. |
y |
an array for the result image. |
atlasdataset |
a matrix or data.frame. The colnames should include "ROIid" and "ROIname". |
ROIids |
a vector indicating ROI id shown in the result. |
... |
further arguments passed to or from other methods. |
Details
atlastable
requires the atlas image and data frame including the ROI id and the name.
Examples
data(diffimg)
data(atlasdatasets)
data(atlas)
atlasname = "aal3"
atlasdataset = atlasdatasets[[atlasname]]
tmpatlas = atlas[[atlasname]]
atlastable(tmpatlas, diffimg, atlasdataset=atlasdataset, ROIids = c(1:2, 41:44))
[Package mand version 2.0 Index]