signifPlot: Plots result of signifPlot.

View source: R/signifPlot.R

signifPlotR Documentation

Plots result of signifPlot.

Description

Plots result of signifPlot.

Usage

signifPlot(
  results,
  fdr = FALSE,
  type = "bubble",
  breaks = NULL,
  colours = c("#4575B4", "white", "#D73027"),
  marksToPlot = NULL,
  cutoff = 0.05
)

Arguments

results

Data frame obtained from spicy.

fdr

TRUE if FDR correction is used.

type

Where to make a bubble plot or heatmap.

breaks

Vector of 3 numbers giving breaks used in pheatmap. The first number is the minimum, the second is the maximum, the third is the number of breaks.

colours

Vector of colours to use in pheatmap.

marksToPlot

Vector of marks to include in pheatmap.

cutoff

significance threshold for circles in bubble plot

Value

a pheatmap object

Examples

data(spicyTest)
signifPlot(spicyTest, breaks=c(-3, 3, 0.5))


ellispatrick/spicyR documentation built on Nov. 22, 2022, 10:45 p.m.