copyRccSet: Deep-copy a NanoString RccSet

Description Usage Arguments Value Author(s) Examples

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

1
2
## S4 method for signature 'RccSet'
copyRccSet(rccSet)

Arguments

rccSet

A NanoString RccSet to be copied.

Value

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

Author(s)

Robert Ziman

Examples

1
2
3
4
data(example_rccSet)
example_rccSet_2 <- copyRccSet(example_rccSet)
assayData(example_rccSet)
assayData(example_rccSet_2) # Should be different

NanoStringQCPro documentation built on Nov. 8, 2020, 8:11 p.m.