LibraryType-methods {exomePeak2} | R Documentation

## Method LibraryType

### Description

Method LibraryType

Accessor to the slot `LibraryType` in class `MeripBamFileList`.

### Usage

    LibraryType(x)

    ## S4 method for signature 'MeripBamFileList'
    LibraryType(x)

### Arguments

`x` | a `MeripBamFileList` object.

### Value

a value for the library type of MeRIP-seq experiment.

### Examples

    GENE_ANNO_GTF = system.file("extdata", "example.gtf", package="exomePeak2")

    f1 = system.file("extdata", "IP1.bam", package="exomePeak2")
    f2 = system.file("extdata", "IP2.bam", package="exomePeak2")
    f3 = system.file("extdata", "IP3.bam", package="exomePeak2")
    f4 = system.file("extdata", "IP4.bam", package="exomePeak2")
    IP_BAM = c(f1,f2,f3,f4)
    f1 = system.file("extdata", "Input1.bam", package="exomePeak2")
    f2 = system.file("extdata", "Input2.bam", package="exomePeak2")
    f3 = system.file("extdata", "Input3.bam", package="exomePeak2")
    INPUT_BAM = c(f1,f2,f3)

    f1 = system.file("extdata", "treated_IP1.bam", package="exomePeak2")
    TREATED_IP_BAM = c(f1)
    f1 = system.file("extdata", "treated_Input1.bam", package="exomePeak2")
    TREATED_INPUT_BAM = c(f1)

    MeRIP_Seq_Alignment <- scanMeripBAM(
      bam_ip = IP_BAM,
      bam_input = INPUT_BAM,
      paired_end = FALSE
    )

    LibraryType(MeRIP_Seq_Alignment)

[Package exomePeak2 version 1.6.1 Index]