Description Usage Arguments Value Note Author(s) References Examples
View source: R/Main_function.R
get.permu is a function to use the same statistic model to calculate random enhancer-gene pairs. Based on the permutation value, empirical P value can be calculated for the real enhancer-gene pair (see reference).
1 2 |
mee |
A MEE.data object contains at least meth, exp, probeInfo, geneInfo. |
geneID |
A vector lists gene id which need to be have permutation. |
percentage |
A number ranges from 0 to 1 specifying the percentage of samples of control and experimental groups used to link probes to genes. Default is 0.2. |
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. |
rm.probes |
A vector lists name of probes which belongs to the set of probes fed into |
permu.size |
A number specifies the number of permuation. Default is 1000. |
permu.dir |
A path shows the directory of permutation outputs |
cores |
A interger which defines the number of cores to be used in parallel process. Default is NULL: no parallel process. |
Certain number of permutation for each gene of interets.
Permutation is the most time consuming step. It is recommended to use multiple cores for this step. Default permutation time is 1000 which may need 12 hrs by 4 cores. However 10,000 permutations is recommended to get high confidence results. But it may cost 2 days.
Lijing Yao (maintainer: lijingya@usc.edu)
Yao L, Shen H, Laird PW, Farnham PJ,Berman BP: Inferring Regulatory Element Landscapes and Transcription Factor Networks from Cancer Methylomes. in revision of Genome Biology
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.