get_file2tab: 'get_file2tab' Scan txt files and extract information into a...

Description Usage Arguments Value Examples

View source: R/get_file2tab.R

Description

get_file2tab Scan txt files and extract information into a data.frame.

Usage

1
get_file2tab(files, features, replace = T)

Arguments

files

Full names of the files to scan [vector].

features

Unique features for grep to search [vector].

Value

return Extracted values [data.frame].

Examples

1
2
3
files <- list.files(path = dir, pattern = fileptn, full.names = TRUE)
features <- c("C methylated in CHH context")
get_file2tab(files, features, replace=T )

yangjl/farmeR documentation built on May 4, 2019, 2:28 p.m.