plot_pwm_as_hm | R Documentation |
Visualise a positional weight matrix as a heatmap
plot_pwm_as_hm(long_df, cell_txt_size = 3, axis_txt_size = 10)
long_df |
A data.frame obtained with |
cell_txt_size |
Text size of the heatmap cells that corresponds to the letter weight in that position. Default 3. |
axis_txt_size |
Text size of axis labels. Default 10. |
A ggplot plot
df2pwm(data, ID_col = 'Species', alphabet = c('a', 'c', 'g', 't'), long_format = T) |>
plot_pwm_as_hm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.