Prepare pairwise annotation data frame for plotting by assigning tiers and y positions for a single group
1 2 3 4 5 6 7 8 9 10 | .prepare_pairwise_annotation_single_group(
data,
pairwise_annotation,
x,
y,
label,
values_to_exclude,
tier_width,
scale
)
|
data |
data frame containing dataset on which the annotations will be plotted |
pairwise_annotation |
data frame containing pairwise annotations (for example, pairwise statistical tests) |
y |
column for y-axis |
label |
column for text annotation |
values_to_exclude |
values to not annotate (for example, "ns" for statistical tests) |
tier_width |
relative distance between tiers for pairwise annotations |
scale |
either "default" for linearly-spaced scale between y tier positions or "log" for log-spaced |
groups |
columns to group by before assigning optimal y positions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.