Visualize the result of SVD
PCAPlot(PCA, PCs.to.plot, batchs.to.plot, filename = NULL)
| 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 |
Graphs the output of SVD results, colored by their batch id