writeNanoStringRccSet: Write NanoString Reporter Code Count (RCC) files

View source: R/writeNanoStringRccSet.R

writeNanoStringRccSetR Documentation

Write NanoString Reporter Code Count (RCC) files

Description

Write NanoString Reporter Code Count (RCC) files from an instance of class NanoStringRccSet.

Usage

writeNanoStringRccSet(x, dir = getwd())

Arguments

x

an instance of class NanoStringRccSet.

dir

An optional character string representing the path to the directory for the RCC files.

Details

Writes a set of NanoString Reporter Code Count (RCC) files based upon x in dir.

Value

A character vector containing the paths for all the newly created RCC files.

Author(s)

Patrick Aboyoun

See Also

NanoStringRccSet, readNanoStringRccSet

Examples

datadir <- system.file("extdata", "3D_Bio_Example_Data",
                       package = "NanoStringNCTools")
rccs <- dir(datadir, pattern = "SKMEL.*\\.RCC$", full.names = TRUE)
solidTumorNoRlfPheno <- readNanoStringRccSet(rccs)
writeNanoStringRccSet(solidTumorNoRlfPheno, tempdir())
for (i in seq_along(rccs)) {
  stopifnot(identical(readLines(rccs[i]),
                      readLines(file.path(tempdir(), basename(rccs[i])))))
}

Nanostring-Biostats/NanoStringNCTools documentation built on April 19, 2024, 8:21 p.m.