AG_meta: Extract meta-data from file header

View source: R/Read_Counts_Utils.R

AG_metaR Documentation

Extract meta-data from file header

Description

Extract meta-data from file header

Usage

AG_meta(
  file,
  verbose = FALSE,
  header_timestamp_format = "%m/%d/%Y %H:%M:%S"
)

value_check(values)

meta_format(x)

Arguments

file

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

verbose

A logical scalar: Print processing updates?

header_timestamp_format

character. Space delimited format of the date and time in the file header (default is %m/%d/%Y %H:%M:%S)

values

list of meta values to check for completeness

x

string to format (one line of input from the data file)

Value

A list with metadata information

Examples

counts_file <- system.file(
  "extdata", "example1sec.csv", package = "AGread"
)
AGread::AG_meta(counts_file)


AGread documentation built on Sept. 13, 2022, 5:06 p.m.