+,AbSeqCRep,AbSeqCRep-method {abseqR} | R Documentation

## Combines 2 AbSeqCRep objects together for comparison

### Description

Combines 2 AbSeqCRep objects together for comparison

### Usage

    ## S4 method for signature 'AbSeqCRep,AbSeqCRep'
    e1 + e2

### Arguments

`e1` | AbSeqCRep.
`e2` | AbSeqCRep.

### Value

AbSeqCRep object. Calling `abseqR`'s functions on this object will always result in a comparison.

### See Also

`abseqReport` returns a `list` of `AbSeqRep`s

### Examples

    # Use example data from abseqR as abseqPy's output, substitute this
    # with your own abseqPy output directory
    abseqPyOutput <- tempdir()
    file.copy(system.file("extdata", "ex", package = "abseqR"), abseqPyOutput, recursive=TRUE)
    samples <- abseqReport(file.path(abseqPyOutput, "ex"), report = 0)

    # The provided example data has PCR1, PCR2, and PCR3 samples contained within
    # pcr12 and pcr13 are instances of AbSeqCRep
    pcr12 <- samples[["PCR1"]] + samples[["PCR2"]]
    pcr13 <- samples[["PCR1"]] + samples[["PCR3"]]

    # all_S is also an instance of AbSeqCRep
    all_S <- pcr12 + pcr13

    # you can now call the report function on this object
    # report(all_S)           # uncomment this line to execute report

[Package abseqR version 1.6.0 Index]