create.timepoint.parser: Generate a closure function to parse timepoint labels from...

Description Usage Arguments Value Examples

View source: R/create.timepoint.parser.R

Description

Generate a closure function to parse timepoint labels from sequence names.

Usage

1
create.timepoint.parser(field.sep, field.num)

Arguments

field.sep

Character used to separate fields in sequence names.

field.num

Field in sequence names that contains timepoint labels.

Value

Validated function to return the specific, delimited field from each sequence name.

Examples

1
2
tp <- create.timepoint.parser(field.sep=".", field.num=1)
tp <- create.timepoint.parser(field.sep="_", field.num=2)

phraber/lassie documentation built on Nov. 23, 2018, 7:55 a.m.