modified from oro.nifti:::image.nifti
1 2 3 4 5 6 |
x |
the Nifti object to display images of |
bgimg |
background image to use. |
thresh |
A threshold to apply to the image, defaults to 0 |
index |
Any selected image planes. defaults to NULL |
col |
a vector of colors to use for scaled intensities defaults to a grey scale. |
colpos |
a vector of colors to use for positive values. |
colneg |
a vector of colors to use for negative values. |
plane |
the plane to display, can be axial, coronal or sagittal. |
xlab |
a title for the x axis. |
ylab |
a title for the y axis. |
axes |
display axes, defaults to false |
oma |
A vector of the form c(bottom, left, top, right) giving the size of the outer margins in lines of text. Default to 0. |
mar |
A numerical vector of the form c(bottom, left, top, right) which gives the number of lines of margin to be specified on the four sides of the plot. Defaults to 0. |
bg |
background color, defaults to black. |
... |
additional arguments passed to par |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.