Learn R Programming

MRIaggr (version 1.1.5)

selectTable: Extract volumic information

Description

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

Usage

"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

Run this code
## 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")

Run the code above in your browser using DataLab