View source: R/PlotSamplesHighSigExp.R
PlotSamplesHighSigExp | R Documentation |
Plot hdp signature exposure in each sample. This function returns the plot of top 5 samples with the highest exposure to a signature. Each spectrum's title is in the form of: Sample Name (Proportion of Signature Assignment). This function is here because it is specific for the signature extraction application.
PlotSamplesHighSigExp( retval, hdpsample, input.catalog, col_comp = NULL, incl_numdata_plot = F, ylab_numdata = "Number of data items", ylab_exp = "Component exposure", leg.title = "Component", cex.names = 0.6, cex.axis = 0.7, mar = c(4, 4, 2, 0.5), oma = c(1.5, 1.5, 1, 1) )
retval |
An object return from |
hdpsample |
A |
input.catalog |
Input spectra catalog as a matrix or
in |
col_comp |
Colors of each component, from 0 to the max number. If NULL, default colors will be used. |
incl_numdata_plot |
Logical - should an upper barplot indicating the number of data items per DP be included? (Default TRUE). |
ylab_numdata |
Vertical axis label for |
ylab_exp |
Vertical axis label for exposure plot. |
leg.title |
Legend title. |
cex.names |
Expansion factor for bar labels ( |
cex.axis |
Expansion factor for vertical-axis annotation. |
mar |
See ?par |
oma |
See ?par |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.