Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion vignettes/filterVcf.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ they may be passed as parameters to *filterVcf*. We use them here to combine the
library(VariantAnnotation)
prefilters <- FilterRules(list(germline=isGermlinePrefilter,
dbsnp=notInDbsnpPrefilter))
filters <- FilterRules(list(isSNV=isSNV, AD=allelicDepth))
## wrap the isSNV() generic in a closure: FilterRules() does not accept
## S4 generics directly with recent S4Vectors
filters <- FilterRules(list(isSNV=function(x) isSNV(x), AD=allelicDepth))
```

## Create the Filtered file
Expand Down
Loading