dot-prepare_pairwise_annotation_single_group: Prepare pairwise annotation data frame for plotting by...

Description Usage Arguments

Description

Prepare pairwise annotation data frame for plotting by assigning tiers and y positions for a single group

Usage

 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
)

Arguments

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


keshavmot2/ggexp documentation built on Feb. 6, 2021, 1:38 a.m.