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)

labbcb/Rqc documentation built on Aug. 2, 2021, 8:43 a.m.