PreProcSnpPileup: PreProcSnpPileup takes a snp-pileup generated pileup file and...

View source: R/facets-procreads.R

PreProcSnpPileupR Documentation

PreProcSnpPileup takes a snp-pileup generated pileup file and process it into a data frame format for downstream processing.

Description

PreProcSnpPileup takes a snp-pileup generated pileup file and process it into a data frame format for downstream processing.

Usage

PreProcSnpPileup(
  filename,
  err.thresh = Inf,
  del.thresh = Inf,
  is.Reference = FALSE,
  gbuild = "hg19"
)

Arguments

filename

(character) File path to snp-pileup generated pileup file.

err.thresh

(numeric) Error threshold to be used to filter snp-pileup data frame.

del.thresh

(numeric) Deletion threshold to be used to filter snp-pileup data frame.

is.Reference

(logical) Indicate whether the snp-pilep is Reference data.

gbuild

(character) genome build version.

Value

A data drame of pileup depth values filtered against del.thresh and err.thresh values.


rptashkin/facets2n documentation built on May 11, 2022, 1:34 p.m.