MRIaggr-selectTable: Extract volumic information

Description Usage Arguments Value See Also Examples

Description

Extract the volumic information (lesion, hyperfusion or reperfusion) from a MRIaggr object.

Usage

1
2
## S4 method for signature 'MRIaggr'
selectTable(object, type, size = FALSE)

Arguments

object

an object of class MRIaggr. REQUIRED.

type

the table to extract. Can be "lesion", "reperfusion" or "hypoperfusion". REQUIRED.

size

should the values in the table correspond to a number of voxels (FALSE) or a volume (TRUE).

Value

A data.frame containing volumetric measurements.

See Also

calcTableHypoReperf to compute and allocate the hypoperfusion and reperfusion tables.
calcTableLesion to compute and allocate the lesion table.
allocTable<- to allocate data in the table slots.

Examples

1
2
3
4
5
6
7
## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")

## selection
res <- selectTable(MRIaggr.Pat1_red, type = "lesion")
res <- selectTable(MRIaggr.Pat1_red, type = "reperfusion")
res <- selectTable(MRIaggr.Pat1_red, type = "hypoperfusion")

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