R/util.R
read_table_generic.RdGeneric reading function using the readr R package, tailored for reading in genomic data
read_table_generic(
file,
header = T,
row.names = F,
stringsAsFactor = F,
sep = "\t",
chrom_col = 1,
skip = 0
)Filename of the file to read in
Whether the file contains a header (Default: TRUE)
Whether the file contains row names (Default: FALSE)
Legacy parameter that is no longer used (Default: FALSE)
Column separator (Default: \t)
The column number that contains chromosome denominations. This column will automatically be cast as a character. Should be counted including the row.names (Default: 1)
The number of rows to skip before reading (Default: 0)
A data frame with contents of the file