HBA {nuCpos} | R Documentation

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

### Description

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

### Usage

    HBA(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

`HBA` outputs one numeric value: histone binding affinity for a whole nucleosome.

### Examples

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

[Package nuCpos version 1.6.0 Index]