Estimate descriptive statistics

get_stats(m, per_chr = TRUE)

Arguments

m

methrix object

per_chr

Estimate stats per chromosome. Default TRUE

Value

data.table of summary stats

Details

Calculate descriptive statistics

See also

Examples

data('methrix_data') get_stats(methrix_data)
#> -Finished in: 0.555s elapsed (0.547s cpu)
#> Chromosome Sample_Name mean_meth median_meth sd_meth mean_cov median_cov #> 1: chr21 C1 0.560004 0.6515152 0.4004019 4.745968 4 #> 2: chr21 C2 0.4934995 0.5 0.3896208 5.047525 4 #> 3: chr21 N1 0.5245418 0.6125 0.4205225 4.978682 4 #> 4: chr21 N2 0.5333442 0.6666667 0.4227578 5.055662 5 #> 5: chr22 C1 0.7392421 0.8571429 0.3115366 4.657459 4 #> 6: chr22 C2 0.5778096 0.6515152 0.3678762 5.5 5 #> 7: chr22 N1 0.8445557 1 0.2273115 5.505376 5 #> 8: chr22 N2 0.8520698 1 0.220973 5.866667 5 #> sd_cov #> 1: 2.990217 #> 2: 3.294072 #> 3: 3.214882 #> 4: 3.148072 #> 5: 2.813423 #> 6: 3.046094 #> 7: 3.270255 #> 8: 3.166515