get_plot_columns: A small rat's nest of if statements intended to figure out...

View source: R/de_plots.R

get_plot_columnsR Documentation

A small rat's nest of if statements intended to figure out what columns are wanted to plot a MA/Volcano from any one of a diverse set of possible input types.

Description

I split this function away from the main body of extract_de_plots() so that I can come back to it and strip it down to something a bit more legible. Eventually I want to dispatch this logic off to separate functions depending on the class of the input.

Usage

get_plot_columns(data, type, p_type = "adj", adjp = TRUE)

Arguments

data

Data structure in which to hunt columns/data.

type

Type of method used to make the data.

p_type

Use adjusted p-values?

adjp

I think this is reundant.

Details

This function should die in a fire.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.