morphomapVariations: morphomapVariations

View source: R/morphomapVariations.R

morphomapVariationsR Documentation

morphomapVariations

Description

Calculate cortical map variation from PCA

Usage

morphomapVariations(PCA, scores, PC, pal = blue2green2red(101), asp = 2)

Arguments

PCA

list: list containing morphomapShape objects

scores

list: list containing morphomapShape objects

PC

list: list containing morphomapShape objects

pal

list: list containing morphomapShape objects

asp

numeric: aspect ratio of the morphometric map

Value

mapvar: matrix containing values of cortical thickness

Author(s)

Antonio Profico

Examples


data(Ex_mpShapeList)
PCA<-morphomapPCA(Ex_mpShapeList)
plot(PCA$PCscores)
barplot(PCA$Variance[,2])
morphomapVariations(PCA,min(PCA$PCscores[,1]),PCA$PCs[,1])
morphomapVariations(PCA,max(PCA$PCscores[,1]),PCA$PCs[,1])


morphomap documentation built on Oct. 10, 2023, 1:08 a.m.