pcapic: Pictures from the first component of PCA

Description Usage Arguments Value See Also Examples

View source: R/pcapic.R

Description

This function returns a picture where each pixel value corresponds to its coordinate on the first component of PCA (not scaled)

Usage

1
pcapic(dfbool, d = c(203, 204), lim = NULL)

Arguments

dfbool

result from reshapimg, with return.bool=TRUE

d

d is the final size of the image. It has to correspond to the initial images taken to run the reshapimg

lim

limit of the colorscale

Value

Returns the resulted matrix with d dimensions, and plots the image with pca.

See Also

reshapimg

Examples

1
2
data(dfboolTest)
pcapic(dfbool=dfboolTest,lim=c(-1,1))

multifluo documentation built on May 2, 2019, 1:07 p.m.