fread.matrix: Fast read matrix with duplicated rownames fast read a dataset...

View source: R/data.import.R

fread.matrixR Documentation

Fast read matrix with duplicated rownames fast read a dataset into a matrix

Description

Fast read matrix with duplicated rownames fast read a dataset into a matrix

Usage

fread.matrix(
  path_to_file,
  method = sum,
  delim = "auto",
  header = "auto",
  cores = 29
)

Arguments

path_to_file

the path to the dataset

method

defalut = "sum"

delim

delimiter, default (tab-delimited)

header

default TRUE

cores

number of cores when reading the dataset. default: 29. Why 29? Because I love the prime numbers.

Examples

fread.matrix('https://raw.githubusercontent.com/jiayiliujiayi/timekiller/master/testdata/dataset_matrix.txt')

jiayiliujiayi/timekiller documentation built on June 15, 2025, 6:31 a.m.