detectFileFormat: Detect file format

Description Usage Arguments Value Examples

View source: R/detectFileFormat.R

Description

Detect file format

Usage

1

Arguments

file

file name

Value

FastqFile or BamFiles objects

Examples

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

Rqc documentation built on Nov. 8, 2020, 5:11 p.m.