localHBA {nuCpos} | R Documentation

## R function for calculating the histone binding score of a given 147-bp sequence.

### Description

This function invokes a Fortran subroutine to calculate local histone binding score. Nucleosomal and linker models built upon the chemical maps are used for the calculation.

### Usage

    localHBA(inseq, species = "mm", silent = FALSE)

### Arguments

`inseq` | a character or DNAString object. The length of the character string must be 147 bp.
`species` | a character = mm, sc or sp; "mm" for mouse, "sc" for S. cerevisiae and "sp" for S. pombe.
`silent` | a logical value indicating whether messages are printed in the console.

### Value

`localHBA` outputs a numeric vector of length 13: local histone binding affinity scores for specific regions in a nucleosome.

### Examples

    load(system.file("extdata","inseq.RData",package="nuCpos"))
    localHBA(inseq, species = "sc")

[Package nuCpos version 1.0.1 Index]