CellMigPCA {cellmigRation}R Documentation

PCA

Description

The CellMigPCA function automatically generates Principal Component Analysis.

Usage

CellMigPCA(object, parameters = c(1, 2, 3))

Arguments

object

CellMig class object, which is a list of data frames resulted from the PreProcessing.

parameters

A numeric vector contains the parameters to be included in the Principal Component Analysis. These numbers can be obtained from the outcome of the FinRes() function.

Value

PCA Graph of cells and PCA Graph of variables.

Author(s)

Salim Ghannoum salim.ghannoum@medisin.uio.no

References

https://www.data-pulse.com/dev_site/cellmigration/

Examples

data(WSADataset)
wasDF=WSADataset[seq(1,300,by=1),]
wsaTD <- CellMig(wasDF)
wsaTD <- wsaPreProcessing(wsaTD,FrameN=55)
wsaTD <-FMI(wsaTD,TimeInterval=10)
wsaTD <-ForwardMigration(wsaTD,TimeInterval=10)
wsaTD <-FinRes(wsaTD,ParCor=FALSE)
PCAplot<-CellMigPCA(wsaTD,parameters=c(1,4))


[Package cellmigRation version 1.0.0 Index]