cpg2gene: Mapping CpG signals to genes.

Description Usage Arguments Value References Examples

View source: R/cpg2gene.R

Description

Mapping association signals on CpG sites to the correponding genes.

Usage

1
cpg2gene(cpg, method='smallest')

Arguments

cpg

A data frame for the CpG sites' signals with three columns: "gene", "cpg" and "pvalue"

method

Use which method to map the ssociation signals on CpG sites to the correponding genes.

Value

The data frame with one column of gene name and one column of their p values.

References

DiSNEP: a Disease-Specific gene Network Enhancement to improve Prioritizing candidate disease genes (2020), Peifeng Ruan, Shuang Wang.

Examples

1
#gene_signals=cpg2gene(cpg_gene)

pfruan/DiSNEP documentation built on June 17, 2020, 6:05 a.m.