runSubcellulaRvis: Visualise subcellular enrichment

View source: R/runSubcellulaRvis.R

runSubcellulaRvisR Documentation

Visualise subcellular enrichment

Description

Visualise subcellular enrichment

Usage

runSubcellulaRvis(
  compsDat,
  colScheme_low,
  colScheme_high,
  aspect = c("Whole cell", "Endosomal system"),
  text_size = 2,
  legend = T,
  legend.pos = "right",
  labels = T,
  significanceThresh = 0.05
)

Arguments

compsDat

Output of compartmentData()

colScheme_low

Low value (i.e. most statistically ignificant) of colour scheme

colScheme_high

High value (i.e. most statistically significant) of colour scheme

aspect

Character; either "Whole cell" or "Endosomal system. Latter will calculate enrichment within endosomal system.

text_size

Size of text if using

legend

Logical; include legend?

legend.pos

passes to ggplot2::theme(legend.postion = legend.pos). One of "right", "left", "bottom", "top"

labels

show labels on plot? Default is TRUE

Value

ggplot2 object


JoWatson2011/subcellularvis documentation built on June 23, 2022, 2:09 p.m.