View source: R/dimension_reduction.R
| pca_highscores | R Documentation | 
This function uses princomp to acquire a principle component biplot for some data and extracts a dataframe of the top n genes for each component by score.
pca_highscores(expt, n = 20, cor = TRUE, vs = "means", logged = TRUE)
| expt | Experiment to poke. | 
| n | Number of genes to extract. | 
| cor | Perform correlations? | 
| vs | Do a mean or median when getting ready to perform the pca? | 
| logged | Check for the log state of the data and adjust as deemed necessary? | 
a list including the princomp biplot, histogram, and tables of top/bottom n scored genes with their scores by component.
[stats] [stats::princomp]
## Not run: 
 information <- pca_highscores(df = df, conditions = cond, batches = bat)
 information$pca_bitplot  ## oo pretty
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.