MRIaggr-selectHemispheres: Extract the position of the lesion in each hemisphere

Description Usage Arguments Details Value Examples

Description

Extract the position of the lesion in each hemisphere from a MRIaggr object.

Usage

1
2
## S4 method for signature 'MRIaggr'
selectHemispheres(object, hemisphere = "both")

Arguments

object

an object of class Carto3D or MRIaggr. REQUIRED.

hemisphere

the hemisphere of interest. character. See the details section.

Details

Possible values for the hemisphere argument are:

Value

A character vector or a data.frame.

Examples

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")

bozenne/MRIaggr documentation built on May 13, 2019, 1:39 a.m.