Skip to contents

Filter SNVs by position: using regions tbl or bed file

Usage

filter_SNVs_by_regions(snvs, regions = NULL, bed_file = NULL)

Arguments

snvs

snvs tbl with columns: sample_id, chrom, pos

regions

regions tbl with columns chrom, start, end

bed_file

bed file