localScore: an R package to highlight optimal and suboptimal segment in a sequence with associated p-values computation
Abstract
Highlighting atypical segments of a sequence is an important goal in very diverse domains. In the case where no prior information on the length of the segment to be highlighted is known, Karlin and Altschul defined in 1990 the local score for biological sequence analysis, and an asymptotic approximation of its distribution is proposed in 1992. There exist now many other theoretical results to establish the local score p-value in different contexts. We developed an R package gathering these results for a sequence modeled by independent and identically distributed variables. It allows to compute the local score, the suboptimal scores, their position, and proposes to establish the local score p-value using the different theoretical methods available so far. An automatic analysis is also proposed to perform the most appropriate method according to the analyzed sequence. We present here the package and different examples of application. Comparisons with other tools used depending on the context of application are also given. The localScore package is available on the Comprehensive R Archive Network.
Origin | Files produced by the author(s) |
---|