plot.exstra_tsum: Plot exstra_tsum, highlighting significant results

View source: R/CLASS_exstra_tsum.R

plot.exstra_tsumR Documentation

Plot exstra_tsum, highlighting significant results

Description

Plot the significant results of a tsum

Usage

## S3 method for class 'exstra_tsum'
plot(
  x,
  loci = NULL,
  sample_col = NULL,
  correction = NULL,
  alpha = NULL,
  controls_label = "Not significant",
  alpha_nonsignif = 0.25,
  ...
)

Arguments

x

An exstra_tsum object.

loci

Character vector of locus or loci to plot.

sample_col

Named (samples) vector of charcters defining colors.

correction

Apply this correction method from p_values. If NULL, then the correction already applied to tsum is used.

alpha

Significance level. If NULL, then the significance already applied to tsum is used. (default 0.05)

controls_label

Generic label for all control samples.

alpha_nonsignif

Transparency alpha value for nonsignificant samples.

...

further arguments to plot.exstra_score

See Also

plot.exstra_score


bahlolab/exSTRa documentation built on Sept. 17, 2022, 5:08 p.m.