Learn R Programming

NanoStringQCPro (version 1.4.0)

copyRccSet,RccSet-method: Deep-copy a NanoString RccSet

Description

Returns a copy of the input RccSet where the copy's assayData has been produced via copyEnv() rather than a simple assignment -- hence deep-copying the environment pointed to by assayData rather than just copying the pointer. This guarantees that if the copy's assayData is affected later in the code, assayData for the original won't be affected.

Usage

"copyRccSet"(rccSet)

Arguments

rccSet
A NanoString RccSet to be copied.

Value

A new RccSet that is a deep copy of the original.

Examples

Run this code
data(example_rccSet)
example_rccSet_2 <- copyRccSet(example_rccSet)
assayData(example_rccSet)
assayData(example_rccSet_2) # Should be different

Run the code above in your browser using DataLab