Volcano-class: 'S4' class; Volcano data.table manipulated and prepared for...

Volcano-classR Documentation

S4 class; Volcano data.table manipulated and prepared for plotting

Description

This class takes in a data.table with specific columns in a specific format. Columns must contain: "feature" and "log2FC" columns. This data must also contain either or/and both "fdr", "p_value" columns.

Then this class manipulates this object to produce an S4 class who is ready for plotting and saves all settings used to prepare the data in adjacent slots.

You can then plot this object by simply calling plot(Volcano(data))

Value

Volcano

Slots

data

data.table.

statistic

character; which column to use as a statistic filter - either "fdr" or "p_value".

statistic_cutoff

numeric.

log2_cutoff

numeric.

head_labels

numeric; how many points to be labeled; sorts data and creates a label for only top n.

See Also

plot-Volcano


CoarfaBCM/derecksLabTools documentation built on April 3, 2022, 10:29 p.m.