read_AG_counts: Read data table files containing count values

Description Usage Arguments Value Examples

View source: R/Read_Counts.R

Description

Read data table files containing count values

Usage

1
2
read_AG_counts(file, verbose = FALSE, skip = 10, nrows = 10,
  header = FALSE, ...)

Arguments

file

A character scalar giving path to an automatically-generated csv file with count values

verbose

A logical scalar: Print processing updates?

skip

Header length: Number of rows to skip when reading the file

nrows

Header length: Number of rows to read when retrieving meta-data

header

A logical scalar: Are variable names contained in first row of file?

...

Further arguments passed to read.csv and fread

Value

A data frame reflecting the data contained in the csv file

Examples

1
2
3
4
5
6
7
8
9
AG_counts <- read_AG_counts(
  system.file(
    "extdata",
    "example1sec.csv",
    package = "AGread"
  ),
  skip = 11
)
head(AG_counts)

AGread documentation built on Feb. 26, 2020, 5:12 p.m.