BiocStyle::markdown()
suppressPackageStartupMessages({
   library(GenomicAlignments)
   library(BSgenome.Hsapiens.UCSC.hg19)
   library(TxDb.Hsapiens.UCSC.hg19.knownGene)
})

Motivation

Genomic ranges describe...

Packages

library(GenomicRanges)
library(GenomicAlignments)
sessionInfo()

Use cases

GRanges: simple genomic ranges

GRangesList: nested genomic ranges

Range-based operations

Intra-range operations

Inter-range operations

Between-object

PLoS Comput Biol 9(8): e1003118

Working with Bioconductor classes and methods

What can I do with my GRanges instance?

methods(class="GRanges")

What type of object(s) can I use findOverlaps() on (what methods exist for the findOverlaps() generic)?

methods(findOverlaps)

How can I get help on functions, generics, and methods?

?"findOverlaps"          ## generic
?"findOverlaps,<tab>"    ## specific method

Other help?

Important parts of the sequence class menagerie

GAlignments and friends (r Biocpkg("GenomicAlignments"))

DNAString and DNAStringSet (r Biocpkg("Biostrings"))

SummarizedExperiment (r Biocpkg("GenomicRanges"))

TxDb (r Biocpkg("AnnotationDb"))

VCF (r Biocpkg("VariantAnnotation"))

Lower-level classes

Deeper understanding

Classes and class hierarchies

R works efficiently on vectors

getClass("GRanges")

Vector and Annotated

List-like

Implementation: Vector plus partitioning

Practical

1. Exon and transcript characterization

Ingredients

Goals

2. GC content

Ingredients - r Biocpkg("BSgenome.Hsapiens.UCSC.hg19") BSGenome package - r Biocpkg("TxDb.Hsapiens.UCSC.hg19") TxDb package - ?"getSeq,BSgenome-method", letterFrequency()

Goapls

3. CpG islands

Ingredients

Goal

4. Aligned reads

Ingredients

Goals



Bioconductor/UseBioconductor documentation built on May 6, 2019, 7:52 a.m.