localHBA: R function for calculating the local histone binding score of...

Description Usage Arguments Value Examples

View source: R/localHBA.R

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

1
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

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

nuCpos documentation built on Nov. 8, 2020, 5:33 p.m.