rdsId: Helper for creating filenames with .rds extension

View source: R/Preprocess-class.R

rdsIdR Documentation

Helper for creating filenames with .rds extension

Description

Intermediate files are stored in directories given by DataPaths. The names of the intermediate files are formed by concatenating the colnames of the BamViews-derived object with the extension .rds.

Usage

rdsId(x)

Arguments

x

a BamViews-derived object

Examples

  library(Rsamtools)
  extdir <- system.file("extdata", package="Rsamtools", mustWork=TRUE)
  bamfile <- list.files(extdir, pattern="ex1.bam$", full.names=TRUE)
  bview <- BamViews(bamPaths=bamfile)
  rdsId(bview)



cancer-genomics/trellis documentation built on Feb. 2, 2023, 7:04 p.m.