Usage
get.pair(mee, probes, nearGenes, percentage = 0.2, permu.size = 10000, permu.dir = NULL,
Pe = 0.001, dir.out = "./", diffExp = FALSE, cores = NULL, portion=0.3,
label = NULL, save=TRUE)
Arguments
mee
A MEE.data object contains at least meth, exp, probeInfo, geneInfo slots.
probes
A vector lists name of probes that need to be linked to genes.
nearGenes
A list (R object) containing output of GetNearGenes function or a path of XX.rda file
containing output of GetNearGenes function.
percentage
A number ranges from 0 to 1 specifying the percentage of samples of methylated and
unmethylated groups used to link probes to genes. Default is 0.2.
permu.size
A number specifies the number of permuation. Default is 1000.
permu.dir
A path shows the directory of permutation outputs.
Pe
A number specifies the empircal pvalue cutoff for defining signficant pairs.
Default is 0.01
portion
A number specify the cut point to define binary methlation level for probe loci.
Default is 0.3. When beta value is above 0.3, the probe is methylated and
vice versa. For one probe, the percentage of methylated or unmethylated samples
should be above 0.05.
dir.out
A path specifies the directory for outputs of get.pair function. Default is current directory
diffExp
A logic. Default is FALSE. If TRUE, t test will be applied to test whether putative
target gene are differentially expressed between two control and experimental
groups.
cores
A interger which defines the number of cores to be used in parallel process.
Default is NULL: no parallel process.
label
A character labels the outputs.
save
A logic. If save is true, two files will be saved for publication or analysis re-usage
purpose: getPair.XX.all.pairs.statistic.csv and getPair.XX.pairs.significant.csv (see detail)