{
  "_id": "6a1f24c7b401979e73420e50",
  "Package": "spgs",
  "Type": "Package",
  "Encoding": "UTF-8",
  "Title": "Statistical Patterns in Genomic Sequences",
  "Version": "1.0-4",
  "Date": "2023-10-02",
  "Authors@R": "c(person(\"Andrew\", \"Hart\", role = c(\"aut\", \"cre\"), email = \"ahart@dim.uchile.cl\"),\nperson(\"Servet\", \"Martínez\", role = \"aut\"),\nperson(\"Universidad de Chile\", role = \"cph\"),\nperson(\"INRIA-Chile\", role = \"cph\"))",
  "Author": "Andrew Hart [aut, cre], Servet Martínez [aut], Universidad de\nChile [cph], INRIA-Chile [cph]",
  "Maintainer": "Andrew Hart <ahart@dim.uchile.cl>",
  "Copyright": "Universidad de Chile, INRIA-Chile",
  "Description": "A collection of statistical hypothesis tests and other\ntechniques for identifying certain spatial\nrelationships/phenomena in DNA sequences. In particular, it\nprovides tests and graphical methods for determining whether or\nnot DNA sequences comply with Chargaff's second parity rule or\nexhibit purine-pyrimidine parity. In addition, there are\nfunctions for efficiently simulating discrete state space\nMarkov chains and testing arbitrary symbolic sequences of\nsymbols for the presence of first-order Markovianness. Also, it\nhas functions for counting words/k-mers (and cylinder patterns)\nin arbitrary symbolic sequences. Functions which take a DNA\nsequence as input can handle sequences stored as SeqFastadna\nobjects from the 'seqinr' package.",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "yes",
  "Classification/MSC": "62F03, 62G10, 62M07, 62P10, 92D20",
  "Packaged": {
    "Date": "2026-05-16 06:30:19 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2023-10-03 15:31:22 UTC",
  "RemoteUrl": "https://github.com/cran/spgs",
  "RemoteRef": "HEAD",
  "RemoteSha": "987257510f8b2a7ffe903d6b840021befbb4de58",
  "MD5sum": "1b451f20cf1a5abd7af55c3cb574b090",
  "_user": "cran",
  "_type": "src",
  "_file": "spgs_1.0-4.tar.gz",
  "_fileid": "5be33e3cdd691df3078583567312d1b93f6e3f86584d31b7dd690c062c51d549",
  "_filesize": 623641,
  "_sha256": "5be33e3cdd691df3078583567312d1b93f6e3f86584d31b7dd690c062c51d549",
  "_created": "2026-05-16T06:30:19.000Z",
  "_published": "2026-06-02T18:45:27.115Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79146620437,
      "time": 112,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7031212399"
    },
    {
      "job": 79146620094,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7031214142"
    },
    {
      "job": 79146619575,
      "time": 124,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7031213413"
    },
    {
      "job": 79146619594,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7031213096"
    },
    {
      "job": 79146619145,
      "time": 140,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031201135"
    },
    {
      "job": 79146618865,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366831106"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25954993096",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/spgs",
  "_commit": {
    "id": "987257510f8b2a7ffe903d6b840021befbb4de58",
    "author": "Andrew Hart <ahart@dim.uchile.cl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0-4\n",
    "time": 1696347082
  },
  "_maintainer": {
    "name": "Andrew Hart",
    "email": "ahart@dim.uchile.cl"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "seqinr",
      "role": "Enhances"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 335,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spgs"
  },
  "_searchresults": 92,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/spgs.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2015-03-28"
    },
    {
      "version": "1.0-1",
      "date": "2017-07-21"
    },
    {
      "version": "1.0-2",
      "date": "2018-05-16"
    },
    {
      "version": "1.0-3",
      "date": "2019-12-06"
    },
    {
      "version": "1.0-4",
      "date": "2023-10-03"
    }
  ],
  "_exports": [
    "ag.test",
    "agct.test",
    "array2vector",
    "chargaff.gibbs.test",
    "chargaff0.test",
    "chargaff1.test",
    "chargaff2.test",
    "chisq.unif.test",
    "complement",
    "cylinder.counts",
    "diffsign.test",
    "diid.disturbance",
    "diid.test",
    "disambiguate",
    "estimateMarkovChain",
    "ks.unif.test",
    "lb.test",
    "markov.disturbance",
    "markov.test",
    "oligoCorr",
    "oligoProfile",
    "pair.counts",
    "quadruple.counts",
    "rank.test",
    "rcspr2mat",
    "reverseComplement",
    "rstochmat",
    "rstochvec",
    "simulateMarkovChain",
    "table2vector",
    "triple.counts",
    "turningpoint.test"
  ],
  "_datasets": [
    {
      "name": "nanoarchaeum",
      "title": "DNA sequence for the Nanoarchaeum equitans Kin4-M Chromosome",
      "object": "nanoarchaeum",
      "file": "nanoarchaeum.rda",
      "class": [
        "SeqFastadna"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "pieris",
      "title": "DNA sequence for the Pieris Rapae Granulovirus Genome",
      "object": "pieris",
      "file": "pieris.rda",
      "class": [
        "SeqFastadna"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "spgs-package",
      "title": "Statistical Patterns in Genomic Sequences",
      "topics": [
        "spgs-package",
        "spgs"
      ]
    },
    {
      "page": "ag.test",
      "title": "Test of Purine-Pyrimidine Parity Based on Purine Count",
      "topics": [
        "ag.test"
      ]
    },
    {
      "page": "agct.test",
      "title": "Test of Purine-Pyrimidine Parity Based on Euclidean distance",
      "topics": [
        "agct.test"
      ]
    },
    {
      "page": "array2vector",
      "title": "Convert Arrays and Tables to Vectors with Named Elements",
      "topics": [
        "array2vector",
        "table2vector"
      ]
    },
    {
      "page": "chargaff.gibbs.test",
      "title": "Test of CSPR for Dinucleotides Under Gibbs Distribution",
      "topics": [
        "chargaff.gibbs.test"
      ]
    },
    {
      "page": "chargaff0.test",
      "title": "Vector Test of Chargaff's Second Parity Rule (CSPR) for Mononucleotides",
      "topics": [
        "chargaff0.test"
      ]
    },
    {
      "page": "chargaff1.test",
      "title": "Matrix Test of CSPR for Mononucleotides",
      "topics": [
        "chargaff1.test"
      ]
    },
    {
      "page": "chargaff2.test",
      "title": "Matrix Test of CSPR for Dinucleotides",
      "topics": [
        "chargaff2.test"
      ]
    },
    {
      "page": "chisq.unif.test",
      "title": "Test of Uniformity Based on Pearsons's Chi-Squared test",
      "topics": [
        "chisq.unif.test"
      ]
    },
    {
      "page": "complement",
      "title": "Complement of a DNA/RNA Sequence",
      "topics": [
        "complement",
        "complement.default",
        "complement.list",
        "complement.SeqFastadna"
      ]
    },
    {
      "page": "cylinder.counts",
      "title": "Count Cylinders (Fixed-Offset Patterns) in Character Vectors",
      "topics": [
        "cylinder.counts"
      ]
    },
    {
      "page": "diffsign.test",
      "title": "the Differents-Sign Test of Statistical Independence",
      "topics": [
        "diffsign.test"
      ]
    },
    {
      "page": "diid.disturbance",
      "title": "Construct feasible Random Noise Generating a Bernoulli Process",
      "topics": [
        "diid.disturbance"
      ]
    },
    {
      "page": "diid.test",
      "title": "A Test for a Bernoulli Scheme (IID Sequence)",
      "topics": [
        "diid.test"
      ]
    },
    {
      "page": "disambiguate",
      "title": "Disambiguate a Nucleic Sequence",
      "topics": [
        "disambiguate",
        "disambiguate.default",
        "disambiguate.list",
        "disambiguate.SeqFastadna"
      ]
    },
    {
      "page": "estimateMarkovChain",
      "title": "Fit a first-Order Markov Chain to a Sequence of Finite Symbols",
      "topics": [
        "estimateMarkovChain"
      ]
    },
    {
      "page": "ks.unif.test",
      "title": "Using 'ks.test' to test for Uniformity on the Unit Interval",
      "topics": [
        "ks.unif.test"
      ]
    },
    {
      "page": "lb.test",
      "title": "The Ljung-Box Test for Uncorrelated Data",
      "topics": [
        "lb.test"
      ]
    },
    {
      "page": "markov.disturbance",
      "title": "Construct feasible Random Noise Generating a First-Order Markov Chain",
      "topics": [
        "markov.disturbance"
      ]
    },
    {
      "page": "markov.test",
      "title": "A Test for First-Order Markovianness",
      "topics": [
        "markov.test"
      ]
    },
    {
      "page": "nanoarchaeum",
      "title": "DNA sequence for the Nanoarchaeum equitans Kin4-M Chromosome",
      "topics": [
        "nanoarchaeum"
      ]
    },
    {
      "page": "oligoProfile",
      "title": "Oligo Profiles and Oligo Profile Correlation Plots of Nucleotide Sequences",
      "topics": [
        "oligoCorr",
        "oligoProfile",
        "plot.OligoProfile",
        "print.OligoProfile"
      ]
    },
    {
      "page": "pair.counts",
      "title": "Count Pairs in Character Vectors",
      "topics": [
        "pair.counts"
      ]
    },
    {
      "page": "pieris",
      "title": "DNA sequence for the Pieris Rapae Granulovirus Genome",
      "topics": [
        "pieris"
      ]
    },
    {
      "page": "quadruple.counts",
      "title": "Count Quadruplets in Character Vectors",
      "topics": [
        "quadruple.counts"
      ]
    },
    {
      "page": "rank.test",
      "title": "The Rank Test of Statistical Independence",
      "topics": [
        "rank.test"
      ]
    },
    {
      "page": "rcspr2mat",
      "title": "Random Stochastic Matrices Complying with Chargaff's Second Parity Rule for Dinucleotides",
      "topics": [
        "rcspr2mat"
      ]
    },
    {
      "page": "reverseComplement",
      "title": "Reverse Complement of a DNA/RNA Sequence",
      "topics": [
        "reverseComplement",
        "reverseComplement.default",
        "reverseComplement.list",
        "reverseComplement.SeqFastadna"
      ]
    },
    {
      "page": "rstochmat",
      "title": "Random Generation of Stochastic Matrices",
      "topics": [
        "rstochmat"
      ]
    },
    {
      "page": "rstochvec",
      "title": "Random Generation of Stochastic (Probability) Vectors",
      "topics": [
        "rstochvec"
      ]
    },
    {
      "page": "simulateMarkovChain",
      "title": "Simulate a first-Order Markov Chain",
      "topics": [
        "simulateMarkovChain"
      ]
    },
    {
      "page": "triple.counts",
      "title": "Count Triplets in Character Vectors",
      "topics": [
        "triple.counts"
      ]
    },
    {
      "page": "turningpoint.test",
      "title": "The Turning Point Test of Statistical Independence",
      "topics": [
        "turningpoint.test"
      ]
    }
  ],
  "_rundeps": [],
  "_score": 1.9637878273455551,
  "_indexed": true,
  "_nocasepkg": "spgs",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0-4",
      "date": "2026-05-16T06:32:19.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "987257510f8b2a7ffe903d6b840021befbb4de58",
      "fileid": "856390a1b984871767072401f630d1988f2f0c5eb366207b664721d5175c250b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25954993096"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0-4",
      "date": "2026-05-16T06:32:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "987257510f8b2a7ffe903d6b840021befbb4de58",
      "fileid": "49b216b4cf3d83c80dc0f3b4f05a850ee85a213e7914de21c533380d430ed876",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25954993096"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0-4",
      "date": "2026-05-16T06:32:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "987257510f8b2a7ffe903d6b840021befbb4de58",
      "fileid": "dbe557ee4ffaa8ca0687ecfeaede1324f68ea4705bfce336b1c3a954f6f6cbc4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25954993096"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0-4",
      "date": "2026-05-16T06:32:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "987257510f8b2a7ffe903d6b840021befbb4de58",
      "fileid": "118e8ef154d46656f9f5849652430fe0963608b3a09c50e5137de109e17fd0f1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25954993096"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0-4",
      "date": "2026-06-02T18:45:07.000Z",
      "arch": "emscripten",
      "commit": "987257510f8b2a7ffe903d6b840021befbb4de58",
      "fileid": "0b5007c6da615fde5d4dfee94b0a49531d415a4295a6de95f0af8dc9e4c61b8f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25954993096"
    }
  ]
}