View source: R/plot_pca_projection_labeloptions.R
| plot_pca_projection_labeloptions | R Documentation | 
Plots projection from rotated.scores file (output of intersect_do_PCA_and_project_second_dataset) on top of original data
plot_pca_projection_labeloptions(
  file,
  rotated.file,
  info.name,
  info.type,
  info.name2,
  info.type2,
  title = "Projection",
  labelsProj = T,
  labelsOrgPCA = F,
  PCx = "PC1",
  PCy = "PC2",
  ellipse = F,
  conf = 0.95,
  fliph = F,
  flipv = F,
  save = F,
  savename = ""
)
| file | scores file of original data | 
| rotated.file | File containing scores matrix of projected data | 
| info.name | Vector of sample names in original PCA | 
| info.type | Vector of sample types in original PCA in the same order as names | 
| info.name2 | Vector of sample names of projected data | 
| info.type2 | Vector of sample types of projected data in the same order | 
| title | Title of the plot | 
| labelsProj | default=T | 
| labelsOrgPCA | default=F | 
| PCx,PCy | PCs to display | 
| ellipse | Construct confidence region based on groups in info.type, default = T | 
| conf | default = 0.95 | 
| fliph,flipv | flip plot hoirzontally or vertically | 
| save | save plot as png | 
| savename | name of file saved | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.