get_feature_file_load_function: get_feature_file_load_function

View source: R/functions_misc.R

get_feature_file_load_functionR Documentation

get_feature_file_load_function

Description

get_feature_file_load_function

Usage

get_feature_file_load_function(feature_files)

Arguments

feature_files

Value

list of appropriate functions for loading feature_files.

Examples

feature_files = dir(system.file("extdata", package = "ssvQC"), pattern = "bed$|Peak$", full.names = TRUE)
load_FUNs = get_feature_file_load_function(feature_files)
all_loaded = lapply(feature_files, function(f){
  get_feature_file_load_function(f)[[1]](f)[[1]]
})

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