Description Usage Arguments Details Value Author(s) Examples
The detected association pattern is a way to visualize the p-values providied by the HIRE function.
1 | riskCpGpattern(pval_matr, main_title = "Detected association pattern", hc_row_ind = FALSE)
|
pval_matr |
the p-value matrix for one phenotype, where one row represents a CpG site and one column indicates one cell type. |
main_title |
the title name. The default is "Detected association pattern". |
hc_row_ind |
whether we conduct hierarchical clustering in the row. The default is FALSE. |
This function depends on the heatmap.2 function in the gplots R package.
return a heatmap
Xiangyu Luo
1 2 3 4 5 6 | #a p-value matrix from the uniform distribution
pvalues <- matrix(runif(600), 100, 6)
#Visualize this p-value matrix
riskCpGpattern(pvalues,
main_title="An example", hc_row_ind = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.