import.many.templates: Import Many Templates

Description Usage Arguments Details Value Note See Also Examples

View source: R/import.many.templates.R

Description

Import many Excel STAR templates from a directory into a cluster (list) of STAR objects.

Usage

1
2
import.many.templates(dir, pattern = "\\.xlsx?$", exclude = NULL,
  short = TRUE, qc = FALSE, quiet = FALSE, ...)

Arguments

dir

directory name.

pattern

regular expression to select filenames to include.

exclude

filenames to exclude.

short

whether to show the filename in a short basename format.

qc

whether to call qc on each filename.

quiet

whether to suppress messages.

...

passed to read.template.

Details

The default pattern selects all filenames ending with ‘xls’ or ‘xlsx’.

Value

A cluster (list) of STAR objects.

Note

A generic script to import many templates is covered in the 'Script' section of the gfcmSTAR-package help page.

See Also

read.template reads an Excel STAR template into a STAR object.

import.many.csv imports many STAR CSV files from a directory tree into a cluster.

peek examines a metadata field of STAR objects.

report reports which files successfully were imported.

gfcmSTAR-package gives an overview of the package.

Examples

1
2
3
4
## Not run: 
cluster <- import.many.templates("STAR")

## End(Not run)

gfcm/gfcmSTAR documentation built on Feb. 5, 2022, 2:14 p.m.