|
| 1 | +% Generated by roxygen2 (4.0.2): do not edit by hand |
1 | 2 | \name{chooseCov} |
2 | 3 | \alias{chooseCov} |
3 | 4 | \title{Determine the optimal number of covariates.} |
4 | 5 | \usage{ |
5 | | - chooseCov(expression, genotype, covariate, |
6 | | - candidates = seq(5, 50, by = 5), covThreshold = 0.01, |
7 | | - covOpt = getOptions(), output = "covSelect", |
8 | | - doCis = FALSE, doTrans = FALSE, ...) |
| 6 | +chooseCov(expression, genotype, covariate, candidates = seq(5, 50, by = 5), |
| 7 | + covThreshold = 0.01, covOpt = getOptions(), output = "covSelect", |
| 8 | + doCis = FALSE, doTrans = FALSE, ...) |
9 | 9 | } |
10 | 10 | \arguments{ |
11 | | - \item{expression}{Name of file containing the gene |
12 | | - expression data.} |
| 11 | +\item{expression}{Name of file containing the gene expression data.} |
13 | 12 |
|
14 | | - \item{genotype}{Name of file containing the genotyping |
15 | | - data.} |
| 13 | +\item{genotype}{Name of file containing the genotyping data.} |
16 | 14 |
|
17 | | - \item{covariate}{Character vector of file names for |
18 | | - covariate files (see details).} |
| 15 | +\item{covariate}{Character vector of file names for covariate files (see details).} |
19 | 16 |
|
20 | | - \item{candidates}{Numeric vector listing the numbers of |
21 | | - covariates that should be evaluated.} |
| 17 | +\item{candidates}{Numeric vector listing the numbers of covariates that should be evaluated.} |
22 | 18 |
|
23 | | - \item{covThreshold}{FDR threshold to use when determining |
24 | | - the number of significant eQTLs.} |
| 19 | +\item{covThreshold}{FDR threshold to use when determining the number of significant eQTLs.} |
25 | 20 |
|
26 | | - \item{covOpt}{List of options to use for reading of |
27 | | - covariate data.} |
| 21 | +\item{covOpt}{List of options to use for reading of covariate data.} |
28 | 22 |
|
29 | | - \item{output}{Name of output directory} |
| 23 | +\item{output}{Name of output directory} |
30 | 24 |
|
31 | | - \item{doCis}{Logical indicating whether covariates should |
32 | | - be selected based on cis-associations.} |
| 25 | +\item{doCis}{Logical indicating whether covariates should be selected based on cis-associations.} |
33 | 26 |
|
34 | | - \item{doTrans}{Logical indicating whether covariates |
35 | | - should be selected based on trans-associations.} |
| 27 | +\item{doTrans}{Logical indicating whether covariates should be selected based on trans-associations.} |
36 | 28 |
|
37 | | - \item{...}{Addition parameters for \code{\link{runME}}} |
| 29 | +\item{...}{Addition parameters for \code{\link{runME}}} |
38 | 30 | } |
39 | 31 | \value{ |
40 | | - A list with elements \item{covariates}{Numeric vector |
41 | | - with the number of covariates used in each iteration.} |
42 | | - \item{eqtls}{A list with components \code{significant} |
43 | | - and \code{all}. Each consisting of a numeric vector with |
44 | | - the number of genes that have significant associations or |
45 | | - any association with SNPs respectively.} \item{best}{Base |
46 | | - of file name(s) that contain the results of the run that |
47 | | - produced the most eQTLs.} |
| 32 | +A list with elements |
| 33 | +\item{covariates}{Numeric vector with the number of covariates used in each iteration.} |
| 34 | +\item{eqtls}{A list with components \code{significant} and \code{all}. Each consisting |
| 35 | +of a numeric vector with the number of genes that have significant associations or any |
| 36 | +association with SNPs respectively.} |
| 37 | +\item{best}{Base of file name(s) that contain the results of the run that produced the |
| 38 | +most eQTLs.} |
48 | 39 | } |
49 | 40 | \description{ |
50 | | - Determine the optimal number of covariates. |
| 41 | +Determine the optimal number of covariates. |
51 | 42 | } |
52 | 43 | \details{ |
53 | | - The argument \code{covariates} may be a vector of several |
54 | | - file names. In this case the first one will be used to |
55 | | - select varying numbers of covariates and the remaining |
56 | | - ones will always be used. |
| 44 | +The argument \code{covariates} may be a vector of several file names. |
| 45 | +In this case the first one will be used to select varying numbers of covariates and |
| 46 | +the remaining ones will always be used. |
57 | 47 | } |
58 | 48 | \author{ |
59 | | - Peter Humburg |
| 49 | +Peter Humburg |
60 | 50 | } |
61 | 51 |
|
0 commit comments