Learn R Programming

multifluo (version 1.1)

pcapic: Pictures from the first component of PCA

Description

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

Usage

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

Run this code
# NOT RUN {
data(dfboolTest)
pcapic(dfbool=dfboolTest,lim=c(-1,1))
# }

Run the code above in your browser using DataLab