multicompplot {mand}R Documentation

Multi components plot

Description

This is a function that plots the vectorized image returned to its original dimensions by the multirec function.

Usage

multicompplot(
  object,
  x,
  comps = NULL,
  row4comp = 6,
  col4comp = 1,
  pseq4comp = NULL,
  ...
)

Arguments

object

an object of class "multirec." Usually, a result of a call to multirec

x

template image

comps

a component sequence to be plotted.

row4comp

the number of rows per a component

col4comp

the number of columns per a component

pseq4comp

the number of images per a component

...

further arguments passed to or from other methods.

Details

multicompplot requires the output result of msma function.

Examples


data(baseimg)
data(diffimg)
data(mask)
data(template)
img1 = simbrain(baseimg = baseimg, diffimg = diffimg, mask=mask)
B1 = rbfunc(imagedim=img1$imagedim, seppix=2, hispec=FALSE, mask=img1$brainpos)
SB1 = basisprod(img1$S, B1)
fit111 = msma(SB1, comp=2)
ws = multirec(fit111, imagedim=img1$imagedim, B=B1, mask=img1$brainpos)
multicompplot(ws, template)


[Package mand version 2.0 Index]