read.delim.cat: read.delim.cat

View source: R/skitools.R

read.delim.catR Documentation

read.delim.cat

Description

takes a vector of tab delimited file paths and concatenates them into a single data frame (takin union of identically named / numbered columns as a default)

Usage

read.delim.cat(
  paths,
  skip = NULL,
  cols = NULL,
  include.paths = T,
  include.index = TRUE,
  cores = NULL,
  ...
)

Arguments

paths

length n character vector of paths to tsv files

skip

optional length n or length 1 integer specifying how many lines to skip

cols

optional character vector of which cols to keep (by default union of all columns)

include.paths

optional logical flag whether to include paths to files as column $source.path column

include.index

optional logical flag whether to include source rownames if exist as $source.id column

cores

optional integer specifying number of cores to use (def 1)

...

additional args to read.delim

Author(s)

Marcin Imielinski


mskilab/skitools documentation built on Aug. 31, 2023, 1:13 p.m.