Usage
avs.evse(object, annotation, gxdata, snpdata, maxgap=250000, pValueCutoff=0.05,
boxcox=TRUE, lab="annotation", glist=NULL, minSize=100, fineMapping=TRUE,
verbose=TRUE)
Arguments
object
an object. When this function is implemented as the S4 method of class
AVS-class, this argument is an object of class 'AVS'.
annotation
a data frame with genomic annotations listing chromosome coordinates to which a particular
property or function has been attributed. It should include the following columns: , , and . The column can be any genomic identifier, while values in should be listed in ['chr1', 'chr2', 'chr3' ..., 'chrX']. Both and columns correspond to chromosome positions mapped to the human genome assembly used to build the AVS object (see avs.preprocess).
gxdata
object of class "matrix", a gene expression matrix.
snpdata
either an object of class "matrix" or "ff", a single nucleotide polymorphism (SNP) matrix.
maxgap
a single integer value specifying the max distant (bp) between the AVS and the annotation used to compute the eQTL analysis.
pValueCutoff
a single numeric value specifying the cutoff for p-values considered significant.
boxcox
a single logical value specifying to use Box-Cox procedure to find a transformation of the null that approaches normality (when boxcox=TRUE) or not (when boxcox=FALSE). See powerTransform and bcPower.
lab
a single character value specifying a name for the annotation dataset (this option is overrided if 'glist' is used).
glist
an optional list with character vectors mapped to the 'annotation' data via column. This option can be used to run a batch mode for gene sets and regulons.
minSize
if 'glist' is provided, this argument is a single integer or numeric value specifying the minimum number of elements for each gene set in the 'glist'. Gene sets with fewer than this number are removed from the analysis. if 'fineMapping=FALSE', an alternative min size value can be provided as a vector of the form c(minSize1, minSize2) used to space the null distributions (see 'fineMapping').
fineMapping
if 'glist' is provided, this argument is a single logical value specifying to compute individual null distributions, sized for each gene set (when fineMapping=TRUE). This option has a significant impact on the running time required to perform the computational analysis, especially for large gene set lists. When fineMapping=FALSE, a low resolution analysis is performed by pre-computing a fewer number of null distributions of different sizes (spaced by 'minSize'), and then used as a proxy of the nulls.
verbose
a single logical value specifying to display detailed messages (when verbose=TRUE)
or not (when verbose=FALSE).