Description Usage Arguments Value
Takes a vector of features (with the standard <GC>:<IMS> feature names) and plots the values over a reference gcims matrix. Can be used to show feature importance/p-values.
1 2 | plot_features(importance, reference_gcims, n_features = 0,
reverse_values = FALSE, discretise_features = FALSE, ...)
|
importance |
vector of feature values (importance) |
reference_gcims |
gcims matrix over which to plot the features |
n_features |
(optional) plot only the top n_features |
reverse_values |
(optional, logical) Consider small feature values as 'big' for the purpose of the colour scale and picking the top n_features |
discretise_features |
show a ret point over each feature, instead of a colour scale |
... |
passed to plot_gcims |
gcims ggplot overlayed with feature values at the correct locations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.