Import pairwise contrasts from a file
Source:R/importPairwiseContrasts.R
importPairwiseContrasts.RdImport pairwise contrasts from a file
Usage
importPairwiseContrasts(
file,
groupCol = "group",
numeratorCol = "numerator",
denominatorCol = "denominator",
namesCol = "description"
)Arguments
- file
character(1). File path.- groupCol
character(1). Group column name incolData()ofDESeqDataSet. Corresponds to value indesign().- numeratorCol
character(1). Numerator column name in contrasts file.- denominatorCol
character(1). Denominator column name in contrasts file.- namesCol
character(1). Column in contrasts file to used to define the names of the contrast list. Values will be sanitized usingsnakeCase().
Value
list.
Named list of pairwise character vectors containing: "group", "numerator",
"denominator".
Examples
file <- system.file("extdata", "contrasts.csv", package = "DESeqAnalysis")
x <- importPairwiseContrasts(file)
#> Error in vapply(X = X, FUN = FUN, FUN.VALUE = logical(1L), ..., USE.NAMES = useNames): formal argument "USE.NAMES" matched by multiple actual arguments
print(x)
#> Error: object 'x' not found