mincLabelPeaks | R Documentation |
label peaks with the name of the atlas structure they are in
mincLabelPeaks(peaks, atlas, defs = getOption("RMINC_LABEL_DEFINITIONS"))
peaks |
the output of |
atlas |
the atlas volume, either as a |
defs |
the atlas definitions, same as used for |
the peaks data frame, with an extra column containing the label
## Not run:
peaks <- mincFindPeaks(-log10(qvs), "Neonatal:time.to.sac",
"pos", posThreshold=1.3, minDistance=1)
peaks <- mincLabelPeaks(peaks,
atlasVol,
defs="Dorr_2008_Steadman_2013_Ullmann_2013_mapping_of_labels.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.