# RNAmodR: analyzing high throughput sequencing data for post-transcriptional RNA modification footprints

Felix G.M. Ernst and Denis L.J. Lafontaine

#### 2020-04-29

#### Package

RNAmodR 1.2.1

# 1 Introduction

Post-transcriptional modifications can be found abundantly in rRNA and tRNA and can be detected classically via several strategies. However, difficulties arise if the identity and the position of the modified nucleotides is to be determined at the same time. Classically, a primer extension, a form of reverse transcription (RT), would allow certain modifications to be accessed by blocks during the RT or changes in the cDNA sequences. Other modification would need to be selectively treated by chemical reactions to influence the outcome of the reverse transcription.

With the increased availability of high throughput sequencing, these classical methods were adapted to high throughput methods allowing more RNA molecules to be accessed at the same time. With these advances post-transcriptional modifications were also detected on mRNA. Among these high throughput techniques are for example Pseudo-Seq (Carlile et al. 2014), RiboMethSeq (Birkedal et al. 2015) and AlkAnilineSeq (Marchand et al. 2018) each able to detect a specific type of modification from footprints in RNA-Seq data prepared with the selected methods.

Since similar pattern can be observed from some of these techniques, overlaps of the bioinformatical pipeline already are and will become more frequent with new emerging sequencing techniques.

`RNAmodR` implements classes and a workflow to detect post-transcriptional RNA modifications in high throughput sequencing data. It is easily adaptable to new methods and can help during the phase of initial method development as well as more complex screenings.

Briefly, from the `SequenceData`, specific subclasses are derived for accessing specific aspects of aligned reads, e.g. 5’-end positions or pileup data. With this a `Modifier` class can be used to detect specific patterns for individual types of modifications. The `SequenceData` classes can be shared by different `Modifier` classes allowing easy adaptation to new methods.

    ## snapshotDate(): 2020-04-27

    library(rtracklayer)
    library(Rsamtools)
    library(GenomicFeatures)
    library(RNAmodR.Data)
    library(RNAmodR)

## 1.1 SequenceData

Each `SequenceData` object is created with a named character vector, which can be coerced to a `BamFileList`, or named `BamFileList`. The names must be either “treated” or “control” describing the condition the data file belongs to. Multiple files can be given per condition and are used as replicates.

    annotation <- GFF3File(RNAmodR.Data.example.gff3())
    sequences <- RNAmodR.Data.example.fasta()
    files <- c(Treated = RNAmodR.Data.example.bam.1(),
               Treated = RNAmodR.Data.example.bam.2(),
               Treated = RNAmodR.Data.example.bam.3())

For `annotation` and `sequences` several input are accepted. `annotation` can be a `GRangesList`, a `GFF3File` or a `TxDb` object. Internally, a `GFF3File` is converted to a `TxDb` object and a `GRangesList` is retrieved using the `exonsBy` function.

    seqdata <- End5SequenceData(files, annotation = annotation,
                                sequences = sequences)

    ## Import genomic features from the file as a GRanges object ... OK
    ## Prepare the 'metadata' data frame ... OK
    ## Make the TxDb object ... OK
    ## Loading 5'-end position data from BAM files ... OK

    seqdata

    ## End5SequenceData with 60 elements containing 3 data columns and 3 metadata columns
    ## - Data columns:
    ##  end5.treated.1 end5.treated.2 end5.treated.3
    ##       <integer>      <integer>      <integer>
    ## -  Seqinfo object with 84 sequences from an unspecified genome; no seqlengths:

`SequenceData` extends from a `CompressedSplitDataFrameList` and contains the data per transcript alongside the annotation information and the sequence. The additional data stored within the `SequenceData` can be accessed by several functions.

    names(seqdata) # matches the transcript names as returned by a TxDb object
    colnames(seqdata) # returns a CharacterList of all column names
    bamfiles(seqdata)
    ranges(seqdata) # generate from a TxDb object
    sequences(seqdata)
    seqinfo(seqdata)

Currently the following `SequenceData` classes are implemented:

- `End5SequenceData`
- `End3SequenceData`
- `EndSequenceData`
- `ProtectedEndSequenceData`
- `CoverageSequenceData`
- `PileupSequenceData`
- `NormEnd5SequenceData`
- `NormEnd3SequenceData`

The data types and names of the columns are different for most of the `SequenceData` classes. As a naming convenction a descriptor is combined with the condition as defined in the files input and the replicate number. For more details please have a look at the man pages, e.g. `?End5SequenceData`.

`SequenceData` objects can be subset like a `CompressedSplitDataFrameList`. Elements are returned as a `SequenceDataFrame` dependent of the type of `SequenceData` used. For each `SequenceData` class a matching `SequenceDataFrame` is implemented.

    seqdata[1]

    ## End5SequenceData with 1 elements containing 3 data columns and 3 metadata columns
    ## - Data columns:
    ##  end5.treated.1 end5.treated.2 end5.treated.3
    ##       <integer>      <integer>      <integer>
    ## -  Seqinfo object with 84 sequences from an unspecified genome; no seqlengths:

    sdf <- seqdata[[1]]
    sdf

    ## End5SequenceDataFrame with 1649 rows and 3 columns
    ##      end5.treated.1 end5.treated.2 end5.treated.3
    ##           <integer>      <integer>      <integer>
    ## 1                 1              4              0
    ## 2                 0              2              0
    ## 3                 0              0              0
    ## 4                 0              0              0
    ## 5                 0              0              0
    ## ...             ...            ...            ...
    ## 1645              0              0              0
    ## 1646              0              0              0
    ## 1647              0              0              0
    ## 1648              0              0              0
    ## 1649              0              0              0
    ##
    ## containing a GRanges object with 1 range and 3 metadata columns:
    ##             seqnames    ranges strand |   exon_id   exon_name exon_rank
    ##                <Rle> <IRanges>  <Rle> | <integer> <character> <integer>
    ##   [1] Q0020_15S_RRNA    1-1649      + |         1       Q0020         1
    ##   -------
    ##   seqinfo: 60 sequences from an unspecified genome; no seqlengths
    ##
    ## and a 1649-letter RNAString object
    ## seq: GUAAAAAAUUUAUAAGAAUAUGAUGUUGGUUCAGAU...UGCGGUGGGCUUAUAAAUAUCUUAAAUAUUCUUACA

The `SequenceDataFrame` objects retains some accessor functions from the `SequenceData` class.

    names(sdf) # this returns the columns names of the data
    ranges(sdf)
    sequences(sdf)

Subsetting of a `SequenceDataFrame` returns a `SequenceDataFrame` or `DataFrame`, depending on whether it is subset by a column or row, respectively. The `drop` argument is ignored for column subsetting.

    sdf[,1:2]

    ## End5SequenceDataFrame with 1649 rows and 2 columns
    ##      end5.treated.1 end5.treated.2
    ##           <integer>      <integer>
    ## 1                 1              4
    ## 2                 0              2
    ## 3                 0              0
    ## 4                 0              0
    ## 5                 0              0
    ## ...             ...            ...
    ## 1645              0              0
    ## 1646              0              0
    ## 1647              0              0
    ## 1648              0              0
    ## 1649              0              0
    ##
    ## containing a GRanges object with 1 range and 3 metadata columns:
    ##             seqnames    ranges strand |   exon_id   exon_name exon_rank
    ##                <Rle> <IRanges>  <Rle> | <integer> <character> <integer>
    ##   [1] Q0020_15S_RRNA    1-1649      + |         1       Q0020         1
    ##   -------
    ##   seqinfo: 60 sequences from an unspecified genome; no seqlengths
    ##
    ## and a 1649-letter RNAString object
    ## seq: GUAAAAAAUUUAUAAGAAUAUGAUGUUGGUUCAGAU...UGCGGUGGGCUUAUAAAUAUCUUAAAUAUUCUUACA

    sdf[1:3,]

    ## DataFrame with 3 rows and 3 columns
    ##   end5.treated.1 end5.treated.2 end5.treated.3
    ##        <integer>      <integer>      <integer>
    ## 1              1              4              0
    ## 2              0              2              0
    ## 3              0              0              0

## 1.2 Modifier

Whereas, the `SequenceData` classes are used to hold the data, `Modifier` classes are used to detect certain features within high throughput sequencing data to assign the presence of specific modifications for an established pattern. The `Modifier` class (and its nucleotide specific subclasses `RNAModifier` and `DNAModifier`) is virtual and can be addapted to individual methods. For example mapped reads can be analyzed using the `ModInosine` class to reveal the presence of I by detecting a A to G conversion in normal RNA-Seq data. Therefore, `ModInosine` inherits from `RNAModifier`.

To fix the data processing and detection strategy, for each type of sequencing method a `Modifier` class can be developed alongside to detect modifications. For more information on how to develop such a class and potentially a new corresponding `SequenceData` class, please have a look at the vignette for creating a new analysis.

For now three `Modifier` classes are available:

- `ModInosine`
- `ModRiboMethSeq` from the `RNAmodR.RiboMethSeq` package
- `ModAlkAnilineSeq` from the `RNAmodR.AlkAnilineSeq` package

`Modifier` objects can use and wrap multiple `SequenceData` objects as elements of a `SequenceDataSet` class. The elements of this class are different types of `SequenceData`, which are required by the specific `Modifier` class. However, they are required to contain data for the same annotation and sequence data.

`Modifier` objects are created with the same arguments as `SequenceData` objects and will start loading the necessary `SequenceData` objects from these. In addition they will automatically start to calculate any additional scores (aggregation) and then start to search for modifications, if the optional argument `find.mod` is not set to `FALSE`.

    mi <- ModInosine(files, annotation = annotation, sequences = sequences)

    ## Import genomic features from the file as a GRanges object ... OK
    ## Prepare the 'metadata' data frame ... OK
    ## Make the TxDb object ... OK
    ## Loading Pileup data from BAM files ... OK
    ## Aggregating data and calculating scores ... Starting to search for 'Inosine' ... done.

(Hint: If you use an artificial genome, name the chromosomes chr1-chrN. It will make some things easier for subsequent visualization, which relies on the `Gviz` package)

Since the `Modifier` class wraps a `SequenceData` object the accessors to data contained within work similarly to the `SequenceData` accessors described above. What type of conditions the `Modifier` class expects/supports is usually described in the man pages of the Modifier class.

    names(mi) # matches the transcript names as returned by a TxDb object
    bamfiles(mi)
    ranges(mi) # generated from a TxDb object
    sequences(mi)
    seqinfo(mi)
    sequenceData(mi) # returns the SequenceData

### 1.2.1 Settings

The behavior of a `Modifier` class can be fine tuned using settings. The `settings()` function is a getter/setter for arguments used in the analysis and my differ between different `Modifier` classes depending on the particular strategy and whether they are implemented as flexible settings.

    settings(mi)

    ## $minCoverage
    ## [1] 10
    ##
    ## $minReplicate
    ## [1] 1
    ##
    ## $find.mod
    ## [1] TRUE
    ##
    ## $minScore
    ## [1] 0.4

    settings(mi,"minScore")

    ## [1] 0.4

    settings(mi) <- list(minScore = 0.5)
    settings(mi,"minScore")

    ## [1] 0.5

## 1.3 ModifierSet

Each `Modifier` object is able to represent one sample set with multiple replicates of data. To easily compare multiple sample sets the `ModifierSet` class is implemented.

The `ModifierSet` object is created from a named list of named character vectors or `BamFileList` objects. Each element in the list is a sample type with a corresponding name. Each entry in the character vector/`BamFileList` is a replicate (Alternatively a `ModifierSet` can also be created from a `list` of `Modifier` objects, if they are of the same type).

    sequences <- RNAmodR.Data.example.AAS.fasta()
    annotation <- GFF3File(RNAmodR.Data.example.AAS.gff3())
    files <- list("SampleSet1" = c(treated = RNAmodR.Data.example.wt.1(),
                                   treated = RNAmodR.Data.example.wt.2(),
                                   treated = RNAmodR.Data.example.wt.3()),
                  "SampleSet2" = c(treated = RNAmodR.Data.example.bud23.1(),
                                   treated = RNAmodR.Data.example.bud23.2()),
                  "SampleSet3" = c(treated = RNAmodR.Data.example.trm8.1(),
                                   treated = RNAmodR.Data.example.trm8.2()))

    msi <- ModSetInosine(files, annotation = annotation, sequences = sequences)

    ## Import genomic features from the file as a GRanges object ... OK
    ## Prepare the 'metadata' data frame ... OK
    ## Make the TxDb object ... OK

The creation of the `ModifierSet` will itself trigger the creation of a `Modifier` object each containing data from one sample set. This step is parallelized using the `BiocParallel` package. If a `Modifier` class itself uses parallel computing for its analysis, it is switched off unless `internalBP = TRUE` is set. In this case each `Modifier` object is created in sequence, allowing parallel computing during the creation of each object.

    names(msi)

    ## [1] "SampleSet1" "SampleSet2" "SampleSet3"

    msi[[1]]

    ## A ModInosine object containing PileupSequenceData with 11 elements.
    ## | Input files:
    ##    - treated: /Users/biocbuild/Library/Caches/ExperimentHub/5018562c543_2544
    ##    - treated: /Users/biocbuild/Library/Caches/ExperimentHub/5b995c325f9a_2546
    ##    - treated: /Users/biocbuild/Library/Caches/ExperimentHub/d6564b30cd24_2548
    ## | Nucleotide - Modification type(s):  RNA  -  I
    ## | Modifications found: yes (6)
    ## | Settings:
    ##   minCoverage minReplicate  find.mod  minScore
    ##     <integer>    <integer> <logical> <numeric>
    ##            10            1      TRUE       0.4

Again accessors remain mostly the same as described above for the `Modifier` class returning a list of results, one element for each `Modifier` object.

    bamfiles(msi)
    ranges(msi) # generate from a TxDb object
    sequences(msi)
    seqinfo(msi)

# 2 Analysis of detected modifications

Found modifications can be retrieved from a `Modifier` or `ModifierSet` object via the `modifications()` function. The function returns a `GRanges` or `GRangesList` object, respectively, which contains the coordinates of the modifications with respect to the genome used. For example if a transcript starts at position 100 and contains a modified nucleotide at position 50 of the transcript, the returned coordinate will 150.

    mod <- modifications(msi)
    mod[[1]]

    ## GRanges object with 6 ranges and 5 metadata columns:
    ##       seqnames    ranges strand |         mod      source        type     score
    ##          <Rle> <IRanges>  <Rle> | <character> <character> <character> <numeric>
    ##   [1]     chr2        34      + |           I     RNAmodR      RNAMOD  0.900932
    ##   [2]     chr4        35      + |           I     RNAmodR      RNAMOD  0.899622
    ##   [3]     chr6        34      + |           I     RNAmodR      RNAMOD  0.984035
    ##   [4]     chr7        67      + |           I     RNAmodR      RNAMOD  0.934553
    ##   [5]     chr9         7      + |           I     RNAmodR      RNAMOD  0.709758
    ##   [6]    chr11        35      + |           I     RNAmodR      RNAMOD  0.874027
    ##            Parent
    ##       <character>
    ##   [1]           2
    ##   [2]           4
    ##   [3]           6
    ##   [4]           7
    ##   [5]           9
    ##   [6]          11
    ##   -------
    ##   seqinfo: 11 sequences from an unspecified genome; no seqlengths

To retrieve the coordinates with respect to the transcript boundaries, use the optional argument `perTranscript = TRUE`. In the example provided here, this will yield the same coordinates, since a custom genome was used for mapping of the example, which does not contain transcripts on the negative strand and per transcript chromosomes.

    mod <- modifications(msi, perTranscript = TRUE)
    mod[[1]]

    ## GRanges object with 6 ranges and 5 metadata columns:
    ##       seqnames    ranges strand |         mod      source        type     score
    ##          <Rle> <IRanges>  <Rle> | <character> <character> <character> <numeric>
    ##   [1]     chr2        34      * |           I     RNAmodR      RNAMOD  0.900932
    ##   [2]     chr4        35      * |           I     RNAmodR      RNAMOD  0.899622
    ##   [3]     chr6        34      * |           I     RNAmodR      RNAMOD  0.984035
    ##   [4]     chr7        67      * |           I     RNAmodR      RNAMOD  0.934553
    ##   [5]     chr9         7      * |           I     RNAmodR      RNAMOD  0.709758
    ##   [6]    chr11        35      * |           I     RNAmodR      RNAMOD  0.874027
    ##            Parent
    ##       <character>
    ##   [1]           2
    ##   [2]           4
    ##   [3]           6
    ##   [4]           7
    ##   [5]           9
    ##   [6]          11
    ##   -------
    ##   seqinfo: 11 sequences from an unspecified genome; no seqlengths

## 2.1 Compairing results

To compare results between samples, a `ModifierSet` as well as a definition of positions to compare are required. To construct a set of positions, we will use the intersection of all modifications found as an example.

    mod <- modifications(msi)
    coord <- unique(unlist(mod))
    coord$score <- NULL
    coord$sd <- NULL
    compareByCoord(msi,coord)

    ## DataFrame with 6 rows and 6 columns
    ##   SampleSet1 SampleSet2 SampleSet3    names positions         mod
    ##    <numeric>  <numeric>  <numeric> <factor>  <factor> <character>
    ## 1   0.900932   0.998134   0.953651       2         34           I
    ## 2   0.899622   0.856241   0.976928       4         35           I
    ## 3   0.984035   0.992012   0.993128       6         34           I
    ## 4   0.934553   0.942905   0.943773       7         67           I
    ## 5   0.709758   0.766484   0.681451       9         7            I
    ## 6   0.874027   0.971474   0.954782       11        35           I

The result can also be plotted using `plotCompareByCoord`, which accepts an optional argument `alias` to allow transcript ids to be converted to other identifiers. For this step it is probably helpful to construct a `TxDb` object right at the beginning and use it for constructing the `Modifier`/`ModifierSet` object as the `annotation` argument.

    txdb <- makeTxDbFromGFF(annotation)

    ## Import genomic features from the file as a GRanges object ... OK
    ## Prepare the 'metadata' data frame ... OK
    ## Make the TxDb object ... OK

    alias <- data.frame(tx_id = names(id2name(txdb)),
                        name = id2name(txdb))

    plotCompareByCoord(msi, coord, alias = alias)

Figure 1: Heatmap for identified Inosine positions

Additionally, the order of sample sets can be adjusted, normalized to any of the sample sets and the numbering of positions shown per transcript.

    plotCompareByCoord(msi[c(3,1,2)], coord, alias = alias, normalize = "SampleSet3",
                       perTranscript = TRUE)

Figure 2: Heatmap for identified Inosine positions with normalized scores

The calculated scores and data can be visualized along the transcripts or chunks of the transcript. With the optional argument `showSequenceData` the plotting of the sequence data in addition to the score data can be triggered by setting it to `TRUE`.

    plotData(msi, "2", from = 10L, to = 45L, alias = alias) # showSequenceData = FALSE

    plotData(msi[1:2], "2", from = 10L, to = 45L, showSequenceData = TRUE, alias = alias)

# 3 Performance measurements

Since the detection of modifications from high throughput sequencing data relies usually on thresholds for calling modifications, there is considerable interest in analyzing the performance of the method based on scores chosen and available samples. To analyse the performance, the function `plotROC()` is implemented, which is a wrapper around the functionality of the `ROCR` package (Sing et al. 2005)(#References).

For the example data used in this vignette, the information gained is rather limited and the following figure should be regarded just as a proof of concept. In addition, the use of found modifications sites as an input for `plotROC` is strongly discouraged, since defeats the purpose of the test. Therefore, please regard this aspect of the next chunk as proof of concept as well.

    plotROC(msi, coord)

Figure 3: TPR vs
FPR plot.

Please have a look at `?plotROC` for additional details. Most of the functionality from the `ROCR` package is available via additional arguments, thus the output of `plotROC` can be heavily customized.

# 4 Additional informations

To have a look at metadata of reads for an analysis with `RNAmodR` the function `stats()` can be used. It can be used with a bunch of object types: `SequenceData`, `SequenceDataList`, `SequenceDataSet`, `Modifier` or `ModifierSet`. For `SequenceData*` objects, the `BamFile` to be analyzed must be provided as well, which automatically done for `Modifier*` objects. For more details have a look at `?stats`.

    stats <- stats(msi)
    stats

    ## List of length 3
    ## names(3): SampleSet1 SampleSet2 SampleSet3

    stats[["SampleSet1"]]

    ## DataFrameList of length 3
    ## names(3): treated treated treated

    stats[["SampleSet1"]][["treated"]]

    ## DataFrame with 11 rows and 6 columns
    ##    seqnames seqlength    mapped  unmapped          used     used_distro
    ##    <factor> <integer> <numeric> <numeric> <IntegerList>          <List>
    ## 1     chr1       1800    197050         0        159782 83,1252,860,...
    ## 2     chr2         85      5863         0          2459     2,16,16,...
    ## 3     chr3         76     76905         0         63497 35,478,4106,...
    ## 4     chr4         77      8299         0          6554     6,27,36,...
    ## 5     chr5         74     11758         0          8818  520,105,93,...
    ## 6     chr6         76      3504         0          2427     1,38,45,...
    ## 7     chr7         75     14556         0         12243  1532,46,12,...
    ## 8     chr8         75    144293         0        143068    14,44,48,...
    ## 9     chr9         75     13790         0          9753     1,49,43,...
    ## 10    chr10        85     19861         0         17729    35,21,10,...
    ## 11    chr11        77     10532         0          9086   53,92,185,...

The data returned by `stats()` is a `DataFrame`, which can be wrapped as a `DataFrameList` or a `SimpleList` depending on the input type. Analysis of the data must be manually done and can be used to produced output like the following plot for distribution of lengths for reads analyzed.

Figure 4: Distribution of lengths for reads used in the analysis

# 5 Further development

The development of `RNAmodR` will continue. General ascpects of the analysis workflow will be addressed in the `RNAmodR` package, whereas additional classes for new sequencing techniques targeted at detecting post-transcriptional will be wrapped in individual packages. This will allow general improvements to propagate upstream, but not hinder individual requirements of each detection strategy.

For an example have a look at the `RNAmodR.RiboMethSeq` and `RNAmodR.AlkAnilineSeq` packages.

Features, which might be added in the future:

- interaction with our packages for data aggregation (for example meta gene aggregation)
- interaction with our packages for downstream analysis for visualization

We welcome contributions of any sort.

# 6 Sessioninfo

    sessionInfo()

    ## R version 4.0.0 (2020-04-24)
    ## Platform: x86_64-apple-darwin17.0 (64-bit)
    ## Running under: macOS Mojave 10.14.6
    ##
    ## Matrix products: default
    ## BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
    ## LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
    ##
    ## locale:
    ## [1] C/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
    ##
    ## attached base packages:
    ## [1] parallel  stats4    stats     graphics  grDevices utils     datasets
    ## [8] methods   base
    ##
    ## other attached packages:
    ##  [1] RNAmodR_1.2.1            GenomeInfoDbData_1.2.3   Modstrings_1.4.0
    ##  [4] RNAmodR.Data_1.1.2       ExperimentHubData_1.14.0 AnnotationHubData_1.18.0
    ##  [7] futile.logger_1.4.3      ExperimentHub_1.14.0     AnnotationHub_2.20.0
    ## [10] BiocFileCache_1.12.0     dbplyr_1.4.3             GenomicFeatures_1.40.0
    ## [13] AnnotationDbi_1.50.0     Biobase_2.48.0           Rsamtools_2.4.0
    ## [16] Biostrings_2.56.0        XVector_0.28.0           rtracklayer_1.47.0
    ## [19] GenomicRanges_1.40.0     GenomeInfoDb_1.24.0      IRanges_2.22.1
    ## [22] S4Vectors_0.26.0         BiocGenerics_0.34.0      BiocStyle_2.16.0
    ##
    ## loaded via a namespace (and not attached):
    ##   [1] RUnit_0.4.32                  tidyselect_1.0.0
    ##   [3] RSQLite_2.2.0                 htmlwidgets_1.5.1
    ##   [5] grid_4.0.0                    BiocParallel_1.22.0
    ##   [7] munsell_0.5.0                 codetools_0.2-16
    ##   [9] colorspace_1.4-1              OrganismDbi_1.30.0
    ##  [11] highr_0.8                     knitr_1.28
    ##  [13] rstudioapi_0.11               ROCR_1.0-7
    ##  [15] assertive.base_0.0-7          labeling_0.3
    ##  [17] optparse_1.6.6                bit64_0.9-7
    ##  [19] farver_2.0.3                  vctrs_0.2.4
    ##  [21] lambda.r_1.2.4                xfun_0.13
    ##  [23] biovizBase_1.36.0             R6_2.4.1
    ##  [25] assertive.sets_0.0-3          AnnotationFilter_1.12.0
    ##  [27] bitops_1.0-6                  DelayedArray_0.14.0
    ##  [29] assertthat_0.2.1              promises_1.1.0
    ##  [31] scales_1.1.0                  nnet_7.3-14
    ##  [33] gtable_0.3.0                  biocViews_1.56.0
    ##  [35] ensembldb_2.12.0              rlang_0.4.5
    ##  [37] splines_4.0.0                 lazyeval_0.2.2
    ##  [39] acepack_1.4.1                 dichromat_2.0-0
    ##  [41] checkmate_2.0.0               BiocManager_1.30.10
    ##  [43] yaml_2.2.1                    reshape2_1.4.4
    ##  [45] backports_1.1.6               httpuv_1.5.2
    ##  [47] Hmisc_4.4-0                   RBGL_1.64.0
    ##  [49] tools_4.0.0                   bookdown_0.18
    ##  [51] ggplot2_3.3.0                 ellipsis_0.3.0
    ##  [53] gplots_3.0.3                  assertive.strings_0.0-3
    ##  [55] RColorBrewer_1.1-2            assertive.reflection_0.0-4
    ##  [57] Rcpp_1.0.4.6                  plyr_1.8.6
    ##  [59] base64enc_0.1-3               progress_1.2.2
    ##  [61] zlibbioc_1.34.0               purrr_0.3.4
    ##  [63] RCurl_1.98-1.2                prettyunits_1.1.1
    ##  [65] rpart_4.1-15                  openssl_1.4.1
    ##  [67] SummarizedExperiment_1.18.0   cluster_2.1.0
    ##  [69] colorRamps_2.3                assertive.models_0.0-2
    ##  [71] magrittr_1.5                  magick_2.3
    ##  [73] data.table_1.12.8             assertive.data_0.0-3
    ##  [75] futile.options_1.0.1          ProtGenerics_1.20.0
    ##  [77] matrixStats_0.56.0            hms_0.5.3
    ##  [79] mime_0.9                      evaluate_0.14
    ##  [81] xtable_1.8-4                  XML_3.99-0.3
    ##  [83] jpeg_0.1-8.1                  gridExtra_2.3
    ##  [85] compiler_4.0.0                biomaRt_2.44.0
    ##  [87] tibble_3.0.1                  assertive.datetimes_0.0-2
    ##  [89] KernSmooth_2.23-17            crayon_1.3.4
    ##  [91] htmltools_0.4.0               later_1.0.0
    ##  [93] assertive_0.3-5               Formula_1.2-3
    ##  [95] DBI_1.1.0                     formatR_1.7
    ##  [97] assertive.files_0.0-2         rappdirs_0.3.1
    ##  [99] assertive.numbers_0.0-2       Matrix_1.2-18
    ## [101] getopt_1.20.3                 assertive.types_0.0-3
    ## [103] assertive.matrices_0.0-2      assertive.data.uk_0.0-2
    ## [105] gdata_2.18.0                  Gviz_1.32.0
    ## [107] pkgconfig_2.0.3               GenomicAlignments_1.24.0
    ## [109] foreign_0.8-79                assertive.data.us_0.0-2
    ## [111] stringdist_0.9.5.5            AnnotationForge_1.30.0
    ## [113] BiocCheck_1.24.0              stringr_1.4.0
    ## [115] VariantAnnotation_1.34.0      digest_0.6.25
    ## [117] graph_1.66.0                  assertive.code_0.0-3
    ## [119] rmarkdown_2.1                 htmlTable_1.13.3
    ## [121] curl_4.3                      shiny_1.4.0.2
    ## [123] gtools_3.8.2                  lifecycle_0.2.0
    ## [125] jsonlite_1.6.1                askpass_1.1
    ## [127] BSgenome_1.56.0               pillar_1.4.3
    ## [129] lattice_0.20-41               fastmap_1.0.1
    ## [131] httr_1.4.1                    survival_3.1-12
    ## [133] interactiveDisplayBase_1.26.0 glue_1.4.0
    ## [135] png_0.1-7                     BiocVersion_3.11.1
    ## [137] bit_1.1-15.2                  assertive.properties_0.0-4
    ## [139] stringi_1.4.6                 blob_1.2.1
    ## [141] latticeExtra_0.6-29           caTools_1.18.0
    ## [143] memoise_1.1.0                 rBiopaxParser_2.28.0
    ## [145] dplyr_0.8.5

# References

Birkedal, Ulf, Mikkel Christensen-Dalsgaard, Nicolai Krogh, Radhakrishnan Sabarinathan, Jan Gorodkin, and Henrik Nielsen. 2015. “Profiling of Ribose Methylations in Rna by High-Throughput Sequencing.” Angewandte Chemie (International Ed. In English) 54 (2): 451–55. https://doi.org/10.1002/anie.201408362.

Carlile, Thomas M., Maria F. Rojas-Duran, Boris Zinshteyn, Hakyung Shin, Kristen M. Bartoli, and Wendy V. Gilbert. 2014. “Pseudouridine Profiling Reveals Regulated mRNA Pseudouridylation in Yeast and Human Cells.” Nature 515 (7525): 143–46.

Marchand, Virginie, Lilia Ayadi, Felix G. M. Ernst, Jasmin Hertler, Valérie Bourguignon-Igel, Adeline Galvanin, Annika Kotter, Mark Helm, Denis L. J. Lafontaine, and Yuri Motorin. 2018. “AlkAniline-Seq: Profiling of m7G and m3C Rna Modifications at Single Nucleotide Resolution.” Angewandte Chemie International Edition 57 (51): 16785–90. https://doi.org/10.1002/anie.201810946.

Sing, Tobias, Oliver Sander, Niko Beerenwinkel, and Thomas Lengauer. 2005. “ROCR: Visualizing Classifier Performance in R.” Bioinformatics (Oxford, England) 21 (20): 3940–1. https://doi.org/10.1093/bioinformatics/bti623.