dot-prepare_pairwise_annotation: 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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
.prepare_pairwise_annotation(
  data,
  pairwise_annotation,
  x,
  y,
  label,
  values_to_exclude = c(),
  groups = c(),
  tier_width = 0.15,
  scale = "default"
)

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)

groups

columns to group by before assigning optimal y positions

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


keshav-motwani/ggexp documentation built on Feb. 4, 2021, 2:21 a.m.