| plot.tna_sequence_comparison | R Documentation |
Visualize the differences in pattern counts by plotting the standardized residuals by pattern and group.
## S3 method for class 'tna_sequence_comparison'
plot(
x,
n = 10,
legend = TRUE,
cells = TRUE,
text_color = "white",
digits = 2L,
...
)
x |
A |
n |
An |
legend |
A |
cells |
A |
text_color |
A |
digits |
An |
... |
Not used. |
A ggplot object.
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()
# A small subset without the permutation test
idx <- c(1:100, 1001:1100)
group <- rep(c("High", "Low"), each = 100)
comp <- compare_sequences(group_regulation[idx, ], group, test = FALSE)
plot(comp)
idx <- c(1:500, 1001:1500)
group <- c(rep("High", 500), rep("Low", 500))
comp <- compare_sequences(group_regulation[idx, ], group)
plot(comp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.