powered by
Plot a Sequence Comparison
# S3 method for tna_sequence_comparison plot( x, n = 10, legend = TRUE, cells = TRUE, text_color = "white", digits = 2L, ... )
A ggplot object.
ggplot
A tna_sequence_comparison object.
tna_sequence_comparison
An integer giving the number of patterns to plot. The default is 10.
integer
10
A logical value indicating whether to show the color scale legend. The default is TRUE.
logical
TRUE
A logical value indicating whether to display the numeric values in each cell. The default is TRUE.
A character string specifying the text color to use for the cell values. The default is "white".
character
"white"
An integer specifying the number of digits for the cell values.
Not used.
Model comparison functions compare(), compare.group_tna(), compare_sequences(), plot.tna_comparison(), plot_compare(), plot_compare.group_tna(), print.tna_comparison(), print.tna_sequence_comparison()
compare()
compare.group_tna()
compare_sequences()
plot.tna_comparison()
plot_compare()
plot_compare.group_tna()
print.tna_comparison()
print.tna_sequence_comparison()
group <- c(rep("High", 1000), rep("Low", 1000)) comp <- compare_sequences(group_regulation, group) plot(comp)
Run the code above in your browser using DataLab