LoslegenKostenlos loslegen

Associating peaks with genes

You are almost ready to explore the relationship between peaks, genes, and their function in more detail. But first, let's take a closer look at how peak locations relate to genes. The chipenrich package provides useful plotting functions for this purpose. The peaks object contains the coordinates of the peaks you used before. The plot_dist_to_tss() function can create a plot of the distribution of distances between peak locations and the transcription start site (TSS) of genes.

The plot_chipenrich_spline() function allows you to assess the frequency of peaks relative to the length of genes. In addition to the observed frequencies, it also plots the expected distribution for Fisher's exact test, a binomial model, and the model used by the chipenrich() function.

Diese Übung ist Teil des Kurses

ChIP-seq with Bioconductor in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Plot distribution of distances between peaks and transcription start sites
___(___, genome = "hg19")
Code bearbeiten und ausführen