Description Usage Arguments Details Value Examples
Extract the position of the lesion in each hemisphere from a MRIaggr
object.
1 2 | ## S4 method for signature 'MRIaggr'
selectHemispheres(object, hemisphere = "both")
|
object |
an |
hemisphere |
the hemisphere of interest. character. See the details section. |
Possible values for the hemisphere
argument are:
"both"
: indicates the presence of the lesion in both hemispheres.
"left"
: indicates the presence of the lesion in the left hemisphere.
"right"
: indicates the presence of the lesion in the right hemisphere.
"lesion"
: indicates which hemispheres are lesioned.
"contralateral"
: indicates which hemispheres are intact.
A character vector or a data.frame.
1 2 3 4 5 6 7 8 9 | ## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")
## selection
selectHemispheres(MRIaggr.Pat1_red)
selectHemispheres(MRIaggr.Pat1_red, hemisphere = "right")
selectHemispheres(MRIaggr.Pat1_red, hemisphere = "left")
selectHemispheres(MRIaggr.Pat1_red, hemisphere = "lesion")
selectHemispheres(MRIaggr.Pat1_red, hemisphere = "contralateral")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.