volcano.plot: Visualize associations between features and classes as...

View source: R/volcano_plot.R

volcano.plotR Documentation

Visualize associations between features and classes as volcano plot

Description

This function creates a volcano plot to vizualize the association between features and the label

Usage

volcano.plot(siamcat, fn.plot=NULL, color.scheme="RdYlBu", 
annotate=5)

Arguments

siamcat

object of class siamcat-class

fn.plot

string, filename for the pdf-plot. If fn.plot is NULL, the plot will be produced in the active graphics device.

color.scheme

valid R color scheme or vector of valid R colors (must be of the same length as the number of classes), defaults to 'RdYlBu'

annotate

integer, number of features to annotate with the name

Details

bla bla bla

Value

Does not return anything, but produces a volcano plot based on association measures

Examples

# Example data
data(siamcat_example)

# Simple example
volcano.plot(siamcat_example, fn.plot='./volcano.pdf')

zellerlab/siamcat documentation built on Feb. 1, 2024, 2:21 a.m.