TargetExperiment-setters: Setters for the TargetExperiment slots

Description Usage Arguments Value Note Author(s) Examples

Description

Set TargetExperiment slots, according to the given function call.

Set TargetExperimentList slots, according to the given function call.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
setFeature(object) <- value

## S4 replacement method for signature 'TargetExperiment,character'
setFeature(object) <- value

setAttribute(object) <- value

## S4 replacement method for signature 'TargetExperiment,character'
setAttribute(object) <- value

setScanBamP(object) <- value

## S4 replacement method for signature 'TargetExperiment,ScanBamParam'
setScanBamP(object) <- value

setPileupP(object) <- value

## S4 replacement method for signature 'TargetExperiment,PileupParam'
setPileupP(object) <- value

setFeaturePanel(object) <- value

## S4 replacement method for signature 'TargetExperiment,GRanges'
setFeaturePanel(object) <- value

setGenePanel(object) <- value

## S4 replacement method for signature 'TargetExperiment,GRanges'
setGenePanel(object) <- value

setBedFile(object) <- value

## S4 replacement method for signature 'TargetExperiment,character'
setBedFile(object) <- value

setBamFile(object) <- value

## S4 replacement method for signature 'TargetExperiment,character'
setBamFile(object) <- value

setFastaFile(object) <- value

## S4 replacement method for signature 'TargetExperiment,character'
setFastaFile(object) <- value

## S4 replacement method for signature 'TargetExperimentList,character'
setFeature(object) <- value

Arguments

object

TargetExperiment class object.

value

value to set the slot.

Value

a TargetExperiment object

Note

see full example in TargetExperiment-class

see full example in TargetExperimentList-class

Author(s)

Gabriela A. Merino gmerino@bdmg.com.ar, Cristobal Fresno cfresno@bdmg.com.ar, Yanina Murua ymurua@leloir.org.ar, Andrea S. Llera allera@leloir.org.ar and Elmer A. Fernandez efernandez@bdmg.com.ar

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## loading TargetExperiment object
if (interactive()){
    data(ampliPanel, package="TarSeqQC")
    ## Defining bam file, bed file and fasta file names and paths
    setBamFile(ampliPanel)<-system.file("extdata", "mybam.bam", 
        package="TarSeqQC", mustWork=TRUE)
    setBedFile(ampliPanel)<-system.file("extdata", "mybed.bed", 
        package="TarSeqQC", mustWork=TRUE)
    setFastaFile(ampliPanel)<-system.file("extdata", "myfasta.fa", 
        package="TarSeqQC", mustWork=TRUE)

    ## Set feature slot value
    setFeature(ampliPanel)<-"amplicon"
    ## Set attribute slot value
    setAttribute(ampliPanel)<-"coverage"
    ## Set scanBamP slot value
    setScanBamP(ampliPanel)<-ScanBamParam()
    ## Set pileupP slot value
    setPileupP(ampliPanel)<-PileupParam()
}
## loading TargetExperimentList object
data(TEList, package="TarSeqQC")
## Set feature slot value
setFeature(TEList)<-"amplicon"

TarSeqQC documentation built on Nov. 8, 2020, 6:03 p.m.