Learn R Programming

localScore (version 2.0.3)

Package for Sequence Analysis by Local Score

Description

Functionalities for calculating the local score and calculating statistical relevance (p-value) to find a local Score in a sequence of given distribution (S. Mercier and J.-J. Daudin (2001) ) ; S. Karlin and S. Altschul (1990) ; S. Mercier, D. Cellier and F. Charlot (2003) ; A. Lagnoux, S. Mercier and P. Valois (2017) ).

Copy Link

Version

Install

install.packages('localScore')

Monthly Downloads

265

Version

2.0.3

License

GPL (>= 2) | file LICENSE

Maintainer

David Robelin

Last Published

April 24th, 2025

Functions in localScore (2.0.3)

karlin

Karlin [p-value] [iid]
lindley

Lindley process
exact_mc

Exact method for p-value [Markov chains]
automatic_analysis

Automatic analysis
karlinMonteCarlo

Monte Carlo - Karlin [p-value]
daudin

Daudin [p-value] [iid]
localScore-package

localScore: Package for Sequence Analysis by Local Score
proba_theoretical_first_excursion_iid

Probability \(P(Q(1)\geq a)\) that the height of the first excursion is greater or equal to a given a i.i.d. model on the letters sequence
monteCarlo

Monte Carlo method [p-value]
proba_theoretical_ith_excursion_markov

theoretical probability of reaching the threshold score a on the i-th excursion (sequential order) of a markov's score sequence
proba_theoretical_ith_excursion_iid

Probability \(P(Q(i)\geq a)\) that the height of the ith excursion (sequential order) is greater or equal to a given a i.i.d. model on the letters sequence
transmatrix2sequence

Sampling function for Markov chains
recordTimes

Calculate the record times of a sequence
localScoreC

Local score
scoreSequences2probabilityVector

Empirical distribution from sequences
sequences2transmatrix

Transition matrix from sequence(s)
mcc

MCC [p-value] [iid]
maxPartialSumd

Maximum of the partial sum [probability] [iid]
stationary_distribution

Stationary distribution [Markov chains]
CharSequence2ScoreSequence

Convert a character sequence into a score sequence
CharSequences2ScoreSequences

Convert several character sequences into score sequences
HydroScore

Dictionary
Aeso

Congenital oesophageal atresia data
RealScores2IntegerScores

Convert a real scores vector into an integer scores vector
MarkovParameters

Functions parameters global description
SJSyndrome

Stevens-Johnson syndrome data
Seq1093

Long protein sequence
Seq219

Protein sequence
Seq31

Short protein sequence
SeqListSCOPe

Several sequences
loadScoreFromFile

Load score from file
loadMatrixFromFile

Loads matrix from csv-File
aeso.data

Deprecated