checkPrefs: Function that checks user preferences for heatmapanalysis.R,...

Description Usage Arguments Value

Description

Function that checks user preferences for heatmapanalysis.R, and, where necessary, overwrites with default preferences and displays a message to the user detailing the problematic preference specification and the default value used. Problems with incorrectly specified variable names lead to the program being terminated rather than the use of defaults.

Usage

1
checkPrefs(prefs, dprefs)

Arguments

prefs

A list of preferences for use in heatmapanalysis.R

dprefs

A list of defaults for the preferences for use in heatmapanalysis.R

Value

prefs A list of preferences for use in heatmapanalysis.R in which the entries have been check and, where neede, replaced with default values


garyfeng/pdata documentation built on May 16, 2019, 5:42 p.m.