Description Usage Arguments Value
This function will help you quick plot the spectra if you have a data.frame
that could be used for plot_spec_from_df and have a group
parameter which indicates
the different groups for spectra in your x
.
1 |
x |
The input matrix with colnames could be converted to numeric values. |
group |
The vector indicate the group-belongings for x |
palette |
Color palette function. The default is RdYlBu |
facet |
Whether to plot by facet_wrap. The default is |
group_num |
Whether to add sample numbers of each group in strip.text. Also support character as the input. |
A ggplot list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.