nucleosomeEnrichment.GRanges {VplotR} | R Documentation

## A function to compute nucleosome enrichment over a set of GRanges

### Description

A function to compute nucleosome enrichment over a set of GRanges

### Usage

    ## S3 method for class 'GRanges'
    nucleosomeEnrichment(x, granges, plus1_nuc_only = FALSE, verbose = TRUE, ...)

### Arguments

`x` | GRanges, paired-end fragments
`granges` | GRanges, loci to map the fragments onto
`plus1_nuc_only` | Boolean, should compute nucleosome enrichment only for +1 nucleosome?
`verbose` | Boolean
`...` | additional parameters

### Value

list

### Examples

    data(bam_test)
    data(ce11_proms)
    n <- nucleosomeEnrichment(bam_test, ce11_proms)
    n$fisher_test
    n$plot

[Package VplotR version 1.4.0 Index]