Description Usage Arguments Details Value See Also Examples
importConfig
reads configuration file into a list.
1 | importConfig(file, path = NULL, sep = "\t")
|
file |
A character string giving the name of the file. |
path |
A character string giving the directory containing the file. This may be omitted if the file is in the current working directory. |
sep |
A character used to separate the fields. |
importConfig
reads a tab-delimited configuration file
containing key/value pairs which represent the parameters for the analysis
into a list. The configuration file should contain two columns, the first
containing the keys outlined below and the second, their values.
Required key/value pairs are:
Directory where count data files are located.
Location of targets file containing the mappings between file names and experimental conditions.
Location where results directory is to be created.
Other accepted key/value pairs and their defaults are:
Name of column in count files which contains the gene identifiers [Default: geneID]
Significance cut-off, see results for more information [Default: 0.05]
Name of condition in the targets file which was the control [Default: control]
Location of annotation file, see annotateDataset [Default: NULL]
Give a value of 1 to keep images which are used in the HTML report, see plotToFile for more information [Default: 0]
Give a value of 0 to run DESeq2 analysis functions or a value of 1 to report only the QC plots [Default: 1]
Give a value of 1 to run GO term enrichment analysis using topGO. If value of 1 given for go_analysis, an annotation file must be provided as a value for the annotation key [Default: 0]
Parameters are validated using validateConfig
.
importConfig
returns a list containing the parameter values with the
names corresponding to their keys.
A key/value list containing the parameters from the configuration file.
Other configuration functions: buildConfig
,
validateConfig
, writeConfig
Other import functions: annotateDataset
,
importAnnotation
,
importTargets
, readCountData
,
validateConfig
,
validateTargets
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Import tab-delimited config from working directory
importConfig("config.txt")
# Import tab-delimited config from another directory
importConfig("config.txt", path="/path/to/config")
# Import comma-delimited config from working directory
importConfig("config.txt", sep=",")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.