sartorlab / methylSig

R package for DNA methylation analysis
17 stars 5 forks source link

Filter function to remove loci with insufficient coverage in samples-per-group #33

Closed rcavalcante closed 4 years ago

rcavalcante commented 4 years ago

Function call

filter_loci_by_group_coverage(bs, group_column, min_samples_per_group)

Description

Remove loci from consideration for differential testing where the groups tested do not have sufficient coverage in enough samples per group. Use after filter_loci_by_coverage(), filter_loci_by_snps(), and a tiling function. Use before differential methylation testing. Optional.

Arguments

Values

A BSseq object with only those loci having min_samples_per_group.

Tests

Test for correct removal of loci.