Description Usage Arguments Value Examples
View source: R/plottingFunctions.R
Generate gene weight and coefficient plots for a single independent or principal component.
1 2 | plotComponent(input_list = NULL, comp_idx, geneinfo_df = NULL,
plot_here = TRUE)
|
input_list |
ICA or PCA object generated by 'runICA()' or 'runPCA()' |
comp_idx |
Component number to be plotted. |
geneinfo_df |
Dataframe containing information about the gene positions. This is used to generate the gene weight plot |
plot_here |
If set to TRUE it will generate the plots in the current session, and if set to FALSE it will return a list of plots only and not generate plots in the current session. |
List of plots
1 2 3 4 | data(expr_data)
pca_object <- runPCA(expr_data)
plotComponent(pca_object, comp_idx = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.