Skip to contents

Record sample files and RSEM run provenance

Usage

rsem_manifest(
  data = "data",
  files = NULL,
  sample_from = "filename",
  reference = NULL,
  run = NULL
)

Arguments

data

Directory containing the files.

files

Optional data frame with sample_id, type and ref (path relative to data). Types are gene, isoform, cnt, model and theta. If omitted, files are discovered using RSEM suffixes.

sample_from

Source of sample IDs during discovery, as in rsem_read().

reference

Optional user-supplied reference identifier or metadata. A list may include sequence_file and annotation_file paths. Their MD5 checksums are stored in the reference metadata.

run

Optional user-supplied information about the RSEM run.

Value

An rsem_manifest data frame with resolved file paths and file sizes. Pass it as metadata to RSEM readers.