guess_feature_file_format: guess_feature_file_format

View source: R/functions_misc.R

guess_feature_file_formatR Documentation

guess_feature_file_format

Description

Check if feature file has a common format. ie. narrowPeak, broadPeak, or bed.

Usage

guess_feature_file_format(feature_files)

Arguments

feature_files

A feature or interval file path. A vector of multiple files is acceptable.

Value

A character vector describing each entry in feature_files.

Examples

feature_files = dir(system.file("extdata", package = "ssvQC"), pattern = "bed$|Peak$", full.names = TRUE)
guess_feature_file_format(feature_files)

FrietzeLabUVM/ssvQC documentation built on March 25, 2024, 12:24 a.m.