get_single_metadata: Import the metadata of a mapstat file

Description Usage Arguments Value

View source: R/mapstat_metadata.R

Description

Import the metadata of a mapstat file

Usage

1
get_single_metadata(path, shorten_sample_id = TRUE)

Arguments

path

Path to file

shorten_sample_id

Should the sample_id variable in the output be shortened?

If TRUE, "samplename" is returned instead of the full path "foo/bar/samplename.mapstat". IfFALSE, the full path is returned.

Value

A list containing the six metadata fields parsed from the 'mapstat' file.


roeder/mapstatHelpers documentation built on Nov. 5, 2019, 3:14 a.m.