meffil.cell.type.specific.methylation: Reduce methylation profiles to most cell-type specific sites

View source: R/cell-type-specific-methylation.r

meffil.cell.type.specific.methylationR Documentation

Reduce methylation profiles to most cell-type specific sites

Description

Reduce methylation profiles to most cell-type specific sites

Usage

meffil.cell.type.specific.methylation(
  beta,
  cell.types,
  number.sites = 50,
  verbose = F
)

Arguments

beta

Numeric matrix (values = 0..1; rows = CpG sites; columns = samples).

cell.types

Name of cell type for each column of beta.

number.sites

For each cell type, the number of sites less methylated and the number more methylated than other cell types to include in the reduced methylation profiles.

Value

Numeric matrix (values = 0..1; rows = CpG sites; columns = cell types) with number.sites CpG sites per cell type more methylated than other cell types and the same number less methylated. Values are the mean CpG site methylation levels of all original samples of the same cell type.#


perishky/meffil documentation built on June 9, 2024, 5:59 p.m.