R/methods-import.R

### =========================================================================
### import methods 
### =========================================================================

setMethod("import", "VcfFile", function(con, format, text, ...) {
    if (!missing(format))
        rtracklayer:::checkArgFormat(con, format)
    readVcf(con, ...)
})
Jiefei-Wang/VariantAnnotation documentation built on March 19, 2020, 12:03 a.m.