ecdf.betaclust {betaclust}R Documentation

The empirical cumulative distribution function plot

Description

An empirical cumulative distribution function (ECDF) plot for a betaclust object.

Usage

ecdf.betaclust(x, R = 2, sample_name = NULL, title = NULL)

Arguments

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 sample types from which DNA methylation data are collected (default R = 2).

sample_name

The order in which the sample types 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".

Details

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.

Value

The ECDF plot for the selected CpG sites for all patients and their DNA sample types.

See Also

betaclust

beta_kr


[Package betaclust version 1.0.3 Index]