{
  "_id": "6a0fefb4acfb0bcc41c750fc",
  "Package": "localScore",
  "Type": "Package",
  "Title": "Package for Sequence Analysis by Local Score",
  "Version": "2.0.5",
  "Date": "2026-04-20",
  "Authors@R": "c(person(\"Sebastian\", \"Simon\", role = \"aut\"),\nperson(\"Chris\", \"Verschelden\", role = \"aut\"),\nperson(\"Charly\", \"Marty\", role = \"aut\"),\nperson(\"David\", \"Robelin\", role = c(\"aut\",\"cre\"),\nemail = \"david.robelin@inrae.fr\"),\nperson(\"Sabine\", \"Mercier\", role = \"aut\",\nemail = \"sabine.mercier@univ-tlse2.fr\"),\nperson(\"Sebastien\", \"Dejean\", role = \"aut\",\nemail=\"sebastien.dejean@math.univ-toulouse.fr\"),\nperson(given=\"The authors of Eigen the library for the included version of Eigen\", role = \"cph\"))",
  "Copyright": "See the file COPYRIGHTS for various embedded Eigen library\ncopyright details",
  "Maintainer": "David Robelin <david.robelin@inrae.fr>",
  "Description": "Functionalities for calculating the local score and\ncalculating statistical relevance (p-value) to find a local\nScore in a sequence of given distribution (D. Robelin, S.\nDéjean, S. Mercier (2025) <doi:10.24072/pcjournal.650> ; S.\nMercier and J.-J. Daudin (2001)\n<https://hal.science/hal-00714174/>) ; S. Karlin and S.\nAltschul (1990)\n<https://pmc.ncbi.nlm.nih.gov/articles/PMC53667/> ; S. Mercier,\nD. Cellier and F. Charlot (2003)\n<https://hal.science/hal-00937529v1/> ; A. Lagnoux, S. Mercier\nand P. Valois (2017) <doi:10.1093/bioinformatics/btw699> ).",
  "License": "GPL (>= 2) | file LICENSE",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-22 05:50:39 UTC",
    "User": "root"
  },
  "Author": "Sebastian Simon [aut], Chris Verschelden [aut], Charly Marty\n[aut], David Robelin [aut, cre], Sabine Mercier [aut],\nSebastien Dejean [aut], The authors of Eigen the library for\nthe included version of Eigen [cph]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-04-21 23:55:41 UTC",
  "RemoteUrl": "https://github.com/cran/localScore",
  "RemoteRef": "HEAD",
  "RemoteSha": "8f014d9830b1158841692455e6438c0d223f8507",
  "MD5sum": "350c3140ad188718896b2089078930f3",
  "_user": "cran",
  "_type": "src",
  "_file": "localScore_2.0.5.tar.gz",
  "_fileid": "2e567cc474d12dc1357ea0d3de7755b872fe5871b3ab7c70e905917fe134e2f6",
  "_filesize": 3844501,
  "_sha256": "2e567cc474d12dc1357ea0d3de7755b872fe5871b3ab7c70e905917fe134e2f6",
  "_created": "2026-05-22T05:50:39.000Z",
  "_published": "2026-05-22T05:55:00.302Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77324039986,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7153692199"
    },
    {
      "job": 77324040008,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7153693555"
    },
    {
      "job": 77324040002,
      "time": 193,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7153701585"
    },
    {
      "job": 77324039979,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7153692735"
    },
    {
      "job": 77323594363,
      "time": 273,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153662313"
    },
    {
      "job": 77324039939,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153687656"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26270789442",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/localScore",
  "_commit": {
    "id": "8f014d9830b1158841692455e6438c0d223f8507",
    "author": "David Robelin <david.robelin@inrae.fr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0.5\n",
    "time": 1776815741
  },
  "_maintainer": {
    "name": "David Robelin",
    "email": "david.robelin@inrae.fr"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.16",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.5",
      "date": "2026-04-21"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 533,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/localScore"
  },
  "_searchresults": 10,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/localScore.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.4",
      "date": "2021-02-23"
    },
    {
      "version": "1.0.5",
      "date": "2021-02-24"
    },
    {
      "version": "1.0.6",
      "date": "2021-02-24"
    },
    {
      "version": "1.0.8",
      "date": "2022-05-17"
    },
    {
      "version": "1.0.10",
      "date": "2023-11-02"
    },
    {
      "version": "1.0.11",
      "date": "2023-11-03"
    },
    {
      "version": "2.0.1",
      "date": "2025-02-24"
    },
    {
      "version": "2.0.2",
      "date": "2025-04-19"
    },
    {
      "version": "2.0.3",
      "date": "2025-04-24"
    },
    {
      "version": "2.0.5",
      "date": "2026-04-21"
    }
  ],
  "_exports": [
    "automatic_analysis",
    "CharSequence2ScoreSequence",
    "CharSequences2ScoreSequences",
    "daudin",
    "exact_mc",
    "karlin",
    "karlin_parameters",
    "karlinMonteCarlo",
    "karlinMonteCarlo_double",
    "lindley",
    "loadMatrixFromFile",
    "loadScoreFromFile",
    "localScoreC",
    "localScoreC_double",
    "localScoreC_int",
    "maxPartialSumd",
    "mcc",
    "monteCarlo",
    "monteCarlo_double",
    "proba_theoretical_first_excursion_iid",
    "proba_theoretical_ith_excursion_iid",
    "proba_theoretical_ith_excursion_markov",
    "RealScores2IntegerScores",
    "recordTimes",
    "scoreSequences2probabilityVector",
    "sequences2transmatrix",
    "stationary_distribution",
    "transmatrix2sequence"
  ],
  "_datasets": [
    {
      "name": "Aeso",
      "title": "Congenital oesophageal atresia data",
      "object": "Aeso",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 2191,
      "table": true,
      "tojson": true
    },
    {
      "name": "aeso.data",
      "title": "Deprecated",
      "object": "aeso.data",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 2191,
      "table": true,
      "tojson": true
    },
    {
      "name": "dico",
      "title": "Deprecated",
      "object": "dico_OLD",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "HydroScore",
      "title": "Dictionary",
      "object": "HydroScore",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "LongSeq",
      "title": "Deprecated",
      "object": "LongSeq",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "MidSeq",
      "title": "Deprecated",
      "object": "MidSeq",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "MySeqList",
      "title": "Deprecated",
      "object": "MySeqList",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "Seq1093",
      "title": "Long protein sequence",
      "object": "Seq1093",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "Seq219",
      "title": "Protein sequence",
      "object": "Seq219",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "Seq31",
      "title": "Short protein sequence",
      "object": "Seq31",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "SeqListSCOPe",
      "title": "Several sequences",
      "object": "SeqListSCOPe",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ShortSeq",
      "title": "Deprecated",
      "object": "ShortSeq",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "SJSyndrome",
      "title": "Stevens-Johnson syndrome data",
      "object": "SJSyndrome",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Case.ID",
        "Initial.FDA.Received.Date",
        "days.since.last.fda",
        "Event.Date",
        "Latest.FDA.Received.Date",
        "Suspect.Product.Names",
        "Suspect.Product.Active.Ingredients",
        "Reason.for.Use",
        "Reactions",
        "Serious",
        "Outcomes",
        "Sex",
        "Patient.Age",
        "Sender",
        "Concomitant.Product.Names"
      ],
      "rows": 824,
      "table": true,
      "tojson": true
    },
    {
      "name": "SJSyndrome.data",
      "title": "Deprecated",
      "object": "SJSyndrome.data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Case.ID",
        "Initial.FDA.Received.Date",
        "days.since.last.fda",
        "Event.Date",
        "Latest.FDA.Received.Date",
        "Suspect.Product.Names",
        "Suspect.Product.Active.Ingredients",
        "Reason.for.Use",
        "Reactions",
        "Serious",
        "Outcomes",
        "Sex",
        "Patient.Age",
        "Sender",
        "Concomitant.Product.Names"
      ],
      "rows": 824,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Aeso",
      "title": "Congenital oesophageal atresia data",
      "topics": [
        "Aeso"
      ]
    },
    {
      "page": "automatic_analysis",
      "title": "Automatic analysis",
      "topics": [
        "automatic_analysis"
      ]
    },
    {
      "page": "CharSequence2ScoreSequence",
      "title": "Convert a character sequence into a score sequence",
      "topics": [
        "CharSequence2ScoreSequence"
      ]
    },
    {
      "page": "CharSequences2ScoreSequences",
      "title": "Convert several character sequences into score sequences",
      "topics": [
        "CharSequences2ScoreSequences"
      ]
    },
    {
      "page": "daudin",
      "title": "Daudin [p-value] [iid]",
      "topics": [
        "daudin"
      ]
    },
    {
      "page": "exact_mc",
      "title": "Exact method for p-value [Markov chains]",
      "topics": [
        "exact_mc"
      ]
    },
    {
      "page": "HydroScore",
      "title": "Dictionary",
      "topics": [
        "HydroScore"
      ]
    },
    {
      "page": "karlin",
      "title": "Karlin [p-value] [iid]",
      "topics": [
        "karlin",
        "karlin_parameters"
      ]
    },
    {
      "page": "karlinMonteCarlo",
      "title": "Monte Carlo - Karlin [p-value]",
      "topics": [
        "karlinMonteCarlo",
        "karlinMonteCarlo_double"
      ]
    },
    {
      "page": "lindley",
      "title": "Lindley process",
      "topics": [
        "lindley"
      ]
    },
    {
      "page": "loadMatrixFromFile",
      "title": "Loads matrix from csv-File",
      "topics": [
        "loadMatrixFromFile"
      ]
    },
    {
      "page": "loadScoreFromFile",
      "title": "Load score from file",
      "topics": [
        "loadScoreFromFile"
      ]
    },
    {
      "page": "localScoreC",
      "title": "Local score",
      "topics": [
        "localScoreC",
        "localScoreC_double",
        "localScoreC_int"
      ]
    },
    {
      "page": "MarkovParameters",
      "title": "Functions parameters global description",
      "topics": [
        "MarkovParameters"
      ]
    },
    {
      "page": "maxPartialSumd",
      "title": "Maximum of the partial sum [probability] [iid]",
      "topics": [
        "maxPartialSumd"
      ]
    },
    {
      "page": "mcc",
      "title": "MCC [p-value] [iid]",
      "topics": [
        "mcc"
      ]
    },
    {
      "page": "monteCarlo",
      "title": "Monte Carlo method [p-value]",
      "topics": [
        "monteCarlo",
        "monteCarlo_double"
      ]
    },
    {
      "page": "proba_theoretical_first_excursion_iid",
      "title": "Probability P(Q(1)>=q a) that the height of the first excursion is greater or equal to 'a' given a i.i.d. model on the letters sequence",
      "topics": [
        "proba_theoretical_first_excursion_iid"
      ]
    },
    {
      "page": "proba_theoretical_ith_excursion_iid",
      "title": "Probability P(Q(i)>=q 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",
      "topics": [
        "proba_theoretical_ith_excursion_iid"
      ]
    },
    {
      "page": "proba_theoretical_ith_excursion_markov",
      "title": "theoretical probability of reaching the threshold score a on the i-th excursion (sequential order) of a markov's score sequence",
      "topics": [
        "proba_theoretical_ith_excursion_markov"
      ]
    },
    {
      "page": "RealScores2IntegerScores",
      "title": "Convert a real scores vector into an integer scores vector",
      "topics": [
        "RealScores2IntegerScores"
      ]
    },
    {
      "page": "recordTimes",
      "title": "Calculate the record times of a sequence",
      "topics": [
        "recordTimes"
      ]
    },
    {
      "page": "scoreSequences2probabilityVector",
      "title": "Empirical distribution from sequences",
      "topics": [
        "scoreSequences2probabilityVector"
      ]
    },
    {
      "page": "Seq1093",
      "title": "Long protein sequence",
      "topics": [
        "Seq1093"
      ]
    },
    {
      "page": "Seq219",
      "title": "Protein sequence",
      "topics": [
        "Seq219"
      ]
    },
    {
      "page": "Seq31",
      "title": "Short protein sequence",
      "topics": [
        "Seq31"
      ]
    },
    {
      "page": "SeqListSCOPe",
      "title": "Several sequences",
      "topics": [
        "SeqListSCOPe"
      ]
    },
    {
      "page": "sequences2transmatrix",
      "title": "Transition matrix from sequence(s)",
      "topics": [
        "sequences2transmatrix"
      ]
    },
    {
      "page": "SJSyndrome",
      "title": "Stevens-Johnson syndrome data",
      "topics": [
        "SJSyndrome"
      ]
    },
    {
      "page": "stationary_distribution",
      "title": "Stationary distribution [Markov chains]",
      "topics": [
        "stationary_distribution"
      ]
    },
    {
      "page": "transmatrix2sequence",
      "title": "Sampling function for Markov chains",
      "topics": [
        "transmatrix2sequence"
      ]
    }
  ],
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "ExcursionsheightDocumentation.Rmd",
      "filename": "ExcursionsheightDocumentation.html",
      "title": "Exact distribution of excursions height",
      "author": "Sébastien Déjean - Charly Marti - Sabine Mercier - Sebastian Simon - David Robelin",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Computation method",
        "Definition of a mathematical excursion",
        "Toy examples",
        "A study case",
        "Optimal excursion, the local score",
        "Sub optimal excursions",
        "With a reverse lecture of the protein",
        "What about the excursion realising the local score"
      ],
      "created": "2025-02-24 11:00:02",
      "modified": "2026-04-21 23:55:41",
      "commits": 2
    },
    {
      "source": "localScorePackageDocumentation.Rmd",
      "filename": "localScorePackageDocumentation.html",
      "title": "Local Score Package",
      "author": "Sébastien Déjean - Sabine Mercier - Sebastian Simon - David Robelin",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Citation",
        "Introduction",
        "In brief",
        "Case of I.I.D. integer score sequence",
        "Generating an I.I.D. score sequence for this example",
        "Graphical representation via the Lindley process",
        "Finding the maximal sum subsequence and all strictly positive sum subsequences",
        "Calculating p-value of local score",
        "Case of markov integer score sequence",
        "Generating a markov score sequence for this example",
        "Case of various dependent structure sequence via Monte-Carlo approach",
        "Generating a complex dependent structure score sequence for this example",
        "Calculating p-value of local score by Monte Carlo simulation",
        "Case of  $i$th excursion (sequential order)",
        "Calculating $p$-value of $i$th excursion",
        "Local Score computation methods",
        "A first example: function ``localScoreC()''",
        "Example with real scores",
        "Example of alphabetical sequence associated to a scoring function",
        "$p$-Value computation methods",
        "Simulating computation: functions \"monteCarlo()\"",
        "A mixed method: functions \"karlinMonteCarlo()\"",
        "Exact method for integer scores: function ``daudin()''",
        "How to use the exact method for real scores",
        "Approximate method of Karlin et al.: function ``karlin()''",
        "An improved approximate method: function ``mcc()''",
        "An automatic method: function ``automatic_analysis()''",
        "Markovian model of the sequence : function exact_mc()",
        "Other Functions",
        "Lindley Process: to visualize optimal and suboptimal segments",
        "Record times: gives the record times of a sequence",
        "Score Loading Function",
        "Empirical distribution: function \"scoreSequences2probabilityVector()\"",
        "Case study",
        "Medium sequence",
        "Local score computation and parameter model setings",
        "Parameter model setings",
        "Exact method",
        "Approximated method",
        "Improved approximation",
        "Monte Carlo",
        "Result and time computation comparison",
        "Short sequence",
        "Results",
        "Large sequence",
        "Several sequences",
        "A larger example with a SCOP data base",
        "File Formats",
        "Sequence Files",
        "Score Files",
        "Transition Matrix Files"
      ],
      "created": "2021-02-23 07:50:03",
      "modified": "2026-04-21 23:55:41",
      "commits": 5
    }
  ],
  "_score": 2.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "localscore",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.5",
      "date": "2026-05-22T05:53:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8f014d9830b1158841692455e6438c0d223f8507",
      "fileid": "7b9f61946c7e7afbb682b0548d15f14bc66f6289e764ff0ce2d391f89a3e5416",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26270789442"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.5",
      "date": "2026-05-22T05:53:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8f014d9830b1158841692455e6438c0d223f8507",
      "fileid": "9f99e2087c584498023bc651cb1fb79e1b46b1c932e5e163710ee398ba453738",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26270789442"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.5",
      "date": "2026-05-22T05:53:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8f014d9830b1158841692455e6438c0d223f8507",
      "fileid": "ff0e2e8264af237237ea26191d1f2d74f7c48e8ddf687b500744573315eda77e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26270789442"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.5",
      "date": "2026-05-22T05:53:02.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8f014d9830b1158841692455e6438c0d223f8507",
      "fileid": "54dcc5e2f43e7cd615a8e43f0faf28a74bdb01ac1f599102a9896f1512b3a7fc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26270789442"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.5",
      "date": "2026-05-22T05:53:12.000Z",
      "arch": "emscripten",
      "commit": "8f014d9830b1158841692455e6438c0d223f8507",
      "fileid": "0637f9344a2721ff79330655421c4fcbe42905a53de343f6996da3e675ea1625",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26270789442"
    }
  ]
}