Skip to contents

Removes homozygous allelic imbalance (AI) bins that do not overlap with LOH (loss of heterozygosity) segments.

Usage

CleanHomalt(rounded_ai, call_seg)

Arguments

rounded_ai

Data frame or tibble. AI data, must include columns contig, start, stop, allele1Count, allele2Count.

call_seg

Data frame or tibble. Segment calls, must include columns chrom, loc.start, loc.end, and MAF.

Value

A data frame of AI bins, with homozygous bins outside LOH regions removed.

Examples

# CleanHomalt(rounded_ai, call_seg)