`pcaplot.Rd`

Display a PCA Plot of the Data

pcaplot(mat, sub, center = TRUE, scale = TRUE, plottitle = "PCA")

mat | The data frame on which to perform pca. |
---|---|

sub | The number of samples in this batch, from left to right in the data frame |

center | a logical value indicating whether the variables should be shifted to be zero centered. The default is TRUE |

scale | a logical value indicating whether the variables should be scaled to have unit variance before the analysis takes place. The default is TRUE |

plottitle | The title to display above your PCA plot. The default is "PCA". |

A PCA plot is displayed