ssvQC.save_config: ssvQC.save_config

View source: R/ssvQC.R

ssvQC.save_configR Documentation

ssvQC.save_config

Description

ssvQC.save_config

Usage

ssvQC.save_config(object, file)

Arguments

object

A ssvQC object

file

A .features.csv and .signal.csv file will be written with this prefix.

Value

invisibly returns config file paths.

Examples

features_config_file = system.file(
  package = "ssvQC", 
  "extdata/ssvQC_peak_config.csv"
)
features_config = QcConfigFeatures.parse(features_config_file)

bam_config_file = system.file(
  package = "ssvQC", 
  "extdata/ssvQC_bam_config.csv"
)
bam_config = QcConfigSignal.parse(bam_config_file)

sqc = ssvQC(features_config, bam_config)

out_dir = tempdir()
ssvQC.save_config(sqc, file.path(out_dir, "test_save_config"))

FrietzeLabUVM/ssvQC documentation built on March 25, 2024, 12:24 a.m.