gpatterns.impute: Impute missing methylation calls

View source: R/cluster.R

gpatterns.imputeR Documentation

Impute missing methylation calls

Description

Impute missing methylation calls

Usage

gpatterns.impute(avgs, k_reg = 3, min_locus_cov = NULL, tidy = TRUE)

Arguments

avgs

'tidy' output of gpatterns.get_avg_meth.

k_reg

k_reg

min_locus_cov

minimal total coverage per locus. If not NULL, filters out loci with less than min_locus_cov methylation calls.

tidy

return 'tidy' output.

Value

if tidy, avgs with additional meth_reg, cov_reg and avg_reg fields with the imputed methylation calls, total number of calls and avergae methylation (respectively) for each sample. If tidy == FALSE: intervals set with additional fields with regularized average methylation for each sample.


tanaylab/gpatterns documentation built on May 15, 2023, 6:23 p.m.