View source: R/correlate_gene_expression.R
test_gene_expr | R Documentation |
Helper function to test whether the expression levels of a gene is reversely correlated with the methylation state of a probe.
test_gene_expr(
gene,
probe,
DM_values,
gene.expr.values,
correlation = "negative"
)
gene |
character string indicating a target gene to be modeled. |
probe |
character string indicating a probe mapped to the target gene. |
DM_values |
a vector of DM values for the probe. The names of the element should be sample names. |
gene.expr.values |
a vector of gene expression values for the tested gene. The names of the vector are sample names. |
correlation |
character indicating the direction of correlation between the methylation state of the CpG site and the gene expression levels. Can be either 'negative' or 'positive'. |
raw.pvalue.threshold |
raw p value from testing DNA methylation and gene expression |
adjusted.pvalue.threshold |
adjusted p value from testing DNA methylation and gene expression |
dataframe with functional probe-gene pairs and corresponding p values obtained from the Wilcoxon test for gene expression and methylation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.