getRefSet: Retrieve reference set

Description Usage Arguments Value Examples

View source: R/cell_composition.R

Description

The function retrieves the curated reference DNA methylation status for a set of cell type names under the Infinium platform. Supported cell types include "CD4T", "CD19B", "CD56NK", "CD14Monocytes", "granulocytes", "scFat", "skin" etc. See package sesameData for more details. The function output a matrix with probes on the rows and specified cell types on the columns. 0 suggests unmethylation and 1 suggests methylation. Intermediate methylation and nonclusive calls are left with NA.

Usage

1
getRefSet(cells = NULL, platform = c("EPIC", "HM450"))

Arguments

cells

reference cell types

platform

EPIC or HM450

Value

g, a 0/1 matrix with probes on the rows and specified cell types on the columns.

Examples

1
betas <- getRefSet('CD4T', platform='HM450')

sesame documentation built on Nov. 15, 2020, 2:08 a.m.