Plots a heatmap of mean promoter methylation levels of any genes in human embryonic cell lines. WGBS methylation data was downloaded from Encode. Methylation levels in tissues correspond to the mean methylation of CpGs located in range of 1000 pb upstream and 200 pb downstream from gene TSS.
Usage
hESC_mean_methylation(
genes = NULL,
include_CTP = FALSE,
values_only = FALSE,
na.omit = TRUE
)Arguments
- genes
characternaming the selected genes. The default value,NULL, takes all CT (specific) genes.- include_CTP
logical(1)IfTRUE, CTP genes are included. (FALSEby default).- values_only
logical(1),FALSEby default. IfTRUE, the function will return the methylation values in all samples instead of the heatmap.- na.omit
logical(1)specifying if genes with missing methylation values in some tissues should be removed (TRUEby default). Note that no gene clustering will be done when methylation values are missing.