auxProcessVariants: auxProcessVariants

Description Usage Arguments Value

View source: R/loadVCFs.R

Description

Auxiliar function called by loadVCFs to process variants

Usage

1
2
3
4
5
6
7
8
9
auxProcessVariants(
  vars,
  cnvGR,
  heterozygous.range,
  homozygous.range,
  min.total.depth,
  exclude.indels,
  regions.to.exclude
)

Arguments

vars

GRanges object containing variants for a certain sample.

cnvGR

GRanges object containg CNV calls for a certain sample.

heterozygous.range

Heterozygous range. Variants not in the homozygous/heterozygous intervals will be excluded.

homozygous.range

Homozygous range. Variants not in the homozygous/heterozygous intervals will be excluded.

min.total.depth

Minimum total depth. Variants under this value will be excluded.

exclude.indels

Whether to exclude indels when loading the variants. TRUE is the recommended value given that indels frequency varies in a different way than SNVs.

regions.to.exclude

A GRanges object defining the regions for which the variants should be excluded.

Value

Processed vars


CNVfilteR documentation built on April 17, 2021, 6:06 p.m.