View source: R/utility_functions.R
plot.syndromics | R Documentation |
S3 method of object class "syndromics" returned by pc_stability() or permut_pca_test() for the generic plot() function. This function is a wrapper to the plotting functions in the syndromics package to make plotting faster from the object class "syndromics" returned by pc_stability() or permut_pca_test() for the generic plot() function.
see each plotting function for details in other arguments.
## S3 method for class 'syndromics' plot( x, plot_type = "barmap", ndim = NULL, plot_resample = F, communalities = F, ... )
x |
Object class "syndromics" returned by pc_stability() or permut_pca_test() |
plot_type |
character string specifying the type of the plot. The function will automatically select a type of plot that is most adequate, but it can be changed. The options are barmap, heatmap, syndromics and VAF. |
ndim |
Numeric. Number of dimensions to plot. |
plot_resample |
Logical. Whether to plot the resamples from pc_stability() or permut_pca_test() in barmap plots. If set to TRUE, confidence intervals will be plotted. |
communalities |
Logical. Whether communalities using barmap should be plotted rather than loadings. |
... |
Further arguments pass down to the corresponding plotting function. |
Abel Torres Espin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.