gene_trimmer: Remove all SNPs outside of of a given gene.

View source: R/gene_trimmer.R

gene_trimmerR Documentation

Remove all SNPs outside of of a given gene.

Description

Get the min/max coordinates of a given gene (including known regulatory regions, introns, and exons). Remove any SNPs from the data.frame that fall outside these coordinates.

Usage

gene_trimmer(dat, gene, min_POS = NA, max_POS = NA)

See Also

Other SNP filters: filter_snps(), limit_snps()


RajLabMSSM/echodata documentation built on Nov. 21, 2023, 8 a.m.