R/partition_pips.R
partition_pip_annots.Rd
Partition PIPs into functional annotation categories.
partition_pip_annots(finemapstats, annots.list)
a GRanges object of fine mapping summary statistics
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.
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.