partition_pip_annots: Partition PIPs into functional annotation categories.

View source: R/partition_pips.R

partition_pip_annotsR Documentation

Partition PIPs into functional annotation categories.

Description

Partition PIPs into functional annotation categories.

Usage

partition_pip_annots(finemapstats, annots.list)

Arguments

finemapstats

a GRanges object of fine mapping summary statistics

annots.list

a list of GRanges objects of ordered functional annotation categories, if a SNP is in multiple annotation categories, it will be assigned to the first ordered category.

Value

a list with a data frame with the sum of PIPs and a data frame with the number of SNPs included for each annotation category.


kevinlkx/mapgen documentation built on March 31, 2024, 11:03 p.m.