Visualize the result of SVD

PCAPlot(PCA, PCs.to.plot, batchs.to.plot, filename = NULL)

Arguments

PCA

The output from fastSVD, i.e., the list returned by fastSVD function

PCs.to.plot

A vector indicates which two PCs to plot

batchs.to.plot

A vector indicates which batches of PCs to plot

filename

The path and name of the PCA plot returned, default value is NULL and the PCA plot is printed directly

Value

Graphs the output of SVD results, colored by their batch id