detectFileFormat {Rqc} | R Documentation

## Detect file format

### Description

Detect file format

### Usage

    detectFileFormat(file)

### Arguments

`file` | file name

### Value

FastqFile or BamFiles objects

### Examples

    folder <- system.file(package="ShortRead", "extdata/E-MTAB-1147")
    files <- list.files(full.names=TRUE, path=folder)
    input <- lapply(files, detectFileFormat)
    sapply(input, class)

[Package Rqc version 1.26.0 Index]