calculateRelevantSNPs {MEAL} | R Documentation |
This function estimates the correlation between the snps and the cpgs. For each pair cpg-SNP the p-value is returned.
calculateRelevantSNPs(set, snps, num_cores = 1)
set |
|
snps |
|
num_cores |
Numeric with the number of cores to be used. |
Data.frame with the pvalues for pairs SNPs-cpgs. SNPs are in the rows and cpgs in the columns.
## Not run: ## betamatrix: matrix of beta values ## phenodf: data.frame with the phenotypes ## snpsobject: SnpSet set <- prepareMethylationSet(matrix = betamatrix, phenotypes = phenodf) relevantSNPs <- calculateRelevantSNPs(set, snpsobject) ## End(Not run)