Description Usage Arguments Value Examples
Intended to allow the user to easily generate PCA plots from phgrofit data. Note that the values should first be scaled before using this function. This can be acomplished with scale_phgrofit()
1 |
phgrofit_data |
This is the output origniating from phgrofit or one of it's modifying functions such as scale_phgrofit or avg_phgrofit. |
group |
This is the name of the column that you would like to color the ordination by. A 95 percent confidence interval for this group will be assigned. |
mouse_over |
Category for which you would like data on mouse over on the plot. |
a ggplot2 object containing the 95 percent confidence interval for the group specified.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ### phgropro processing
## Not run: phgropro_output = phgropro(biotek_export = filepath.txt,metadata = metadata.csv,Plate_Type = 96)
### phgrofit processing
## Not run: phgrofit_output = phgrofit(phgropro_output)
## scaling phgrofit data
## Not run: phgrofit_data = scale_phgrofit(phgrofit_output)
### printing PCA plot with colored confidence intervals for community
## Not run: community_PCA = PCA(phgrofit_data,"Community")
print(community_PCA)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.