get_groups: Step 1: determine which group to parse for each xml workspace

Description Usage Arguments Value Examples

View source: R/pipeline.R

Description

The regular expression may not always pick up the correct group for each xml. Thus it is safer to separate this step from parsing so that users get to review and edit(if necessary) the resolved group results.

Usage

1

Arguments

files

character vector, full paths of 'xml' workspace files

pattern

character a regular expression to specifiy which group to parse

Value

a list of opened workspace objects and the group names matched by regular expression.

Examples

1
2
3
4
5
## Not run: 
 wsFiles <- list.files(dataPath, pattern = ".xml", full = T)
 groups <- get_groups(wsFiles, "(_MD)|(_SK)")

## End(Not run)

RGLab/flowIncubator documentation built on Sept. 5, 2020, 11:10 p.m.