PlotDeconvMethylFun: Correlation plot to show the correlation between the...

View source: R/PlotDeconvMethylFun.R

PlotDeconvMethylFunR Documentation

Correlation plot to show the correlation between the reference cell types and estimated clusters DNA methylation deconvolution

Description

This function creates a correlation plot to show the correlation between the reference cell types used and estimated clusters after DNA methylation deconvolution. Users can use this plot to choose the appropriate labels for the cell types for the deconvoluted DNA methylation profiles.

Usage

PlotDeconvMethylFun(
  Methylation.Sample,
  Reference.Methylation.Probes,
  Reference.Methylation.CellTypes,
  stage1_result_ct,
  Reference.CellTypes.Names
)

Arguments

Methylation.Sample

A R dataframe for the DNA methylation values for the samples and the probes.

Reference.Methylation.Probes

A vector of the marker loci (probes) based on comparisons of each class of reference against all other samples using t-test.

Reference.Methylation.CellTypes

A R dataframe for the DNA methylation values for the reference cell types and the probes.

stage1_result_ct

The output from RunDeconvMethylFun()

Reference.CellTypes.Names

A vector of the names of the reference cell types.

Details

Created By: Banabithi Bose| Date Created: 4/10/2022 | Stage 1 | Function 2 |

Value

Correlation Plot.


bozdaglab/CTDPathSim2.0 documentation built on April 14, 2022, 12:39 a.m.