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 April 2, 2024, 5:48 a.m.