ecdf.betaclust {betaclust} | R Documentation |
An empirical cumulative distribution function (ECDF) plot for a betaclust
object.
ecdf.betaclust(x, R = 2, sample_name = NULL, title = NULL)
x |
A dataframe containing methylation values of identified differentially methylated regions related to a gene. Samples are grouped together in the dataframe such that the columns are ordered as Sample1_Patient1, Sample1_Patient2, Sample2_Patient1, Sample2_Patient2, etc. |
R |
Number of tissue samples from which DNA methylation data are collected (default R = 2). |
sample_name |
The order in which the samples are grouped in the dataframe. If no value is specified then default values of sample names, e.g. Sample 1, Sample 2, etc are used (default = NULL). |
title |
The title that the user wants to display on the graph. The default is "NULL". |
This function plots the ECDF of the differentially methylated CpG sites identified using the K.R model for all patient samples. The plot visualises the methylation state changes between the different DNA samples for each patient.
The ECDF plot for the selected CpG sites for all patients and their DNA samples.