getStatistics-methods: getStatistics-methods

getStatistics,MeDeComSet-methodR Documentation

getStatistics-methods

Description

Methylation sites object information for which is present in the RnBSet object.

Usage

## S4 method for signature 'MeDeComSet'
getStatistics(object, Ks = object@parameters$Ks,
  lambdas = object@parameters$lambdas, cg_subset = 1,
  statistic = "cve")

Arguments

object

object returned by runMeDeCom

Ks

numbers of LMCs

lambdas

regularlization parameters

cg_subset

used CpG subset, defaults to the full data set

statistic

character of length 1 specifying goodness of fit statistics

Details

Currently the following values for statistics can be supplied: objective, RMSE, CVE.

Value

A numeric matrix or vector with the requested statistics

Examples


data(example.data)
getStatistics(example_MeDeComSet, K=2, lambda=0.001)


lutsik/MeDeCom documentation built on Feb. 15, 2023, 11:32 a.m.