Bar-chart companion to fs_rule_covariate_pairs(), in the same idiom as the
selected-covariate figure: horizontal bars, ordered by share, coloured by
how the signature relates to the true region.
Arguments
- x
An
fs_identificationobject, or anythingfs_rule_covariate_pairs()accepts.- true_covariates
Character vector; taken from
xwhen it is anfs_identificationobject.- top_n
Integer. Show only the most frequent
top_nsignatures; the remainder are pooled into a single "other" bar so the shares still sum to 1 and nothing is silently dropped.- detected_only
Passed through.