dot-readFileFromConditionOnNcols: Put the content of a tab separated file (with or without...

Description Usage Arguments Value

Description

Put the content of a tab separated file (with or without header gzip or not) in a dataframe From the first line where the number of fields follow the condition cond

Usage

1
.readFileFromConditionOnNcols(fn, cond, keepQuote = F)

Arguments

fn

the name of the file (tab delimited file with optionnally headers). Each row of the table appears as one line of the file. If it does not contain an absolute path, the file name is relative to the current working directory, getwd().

cond

the condition that the number of columns should follow (for example "==4" or ">=3")

keepQuote

logical whether the quotes should be kept useful for gtf files (default is F)

Value

The dataframe containing the values of the file fn (the header is removed).


lldelisle/usefulLDfunctions documentation built on Nov. 29, 2021, 5:40 a.m.