{
  "_id": "6a1f1f93b401979e734201a8",
  "Package": "iimi",
  "Title": "Identifying Infection with Machine Intelligence",
  "Version": "1.2.2",
  "Authors@R": "c(\nperson(\"Haochen\", \"Ning\", , \"hning@uvic.ca\", role = c(\"aut\")),\nperson(\"Ian\", \"Boyes\", , \"ian.boyes@inspection.gc.ca\", role = c(\"aut\")),\nperson(\"Ibrahim\", \"Numanagić\", , \"inumanag@uvic.ca\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-2970-7937\")),\nperson(\"Michael\", \"Rott\", , \"mike.rott@inspection.gc.ca\", role = c(\"aut\")),\nperson(\"Li\", \"Xing\", , \"lix491@math.usask.ca\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-4186-7909\")),\nperson(\"Xuekui\", \"Zhang\", , \"xuekui@uvic.ca\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-4728-2343\")))",
  "Description": "A novel machine learning method for plant viruses\ndiagnostic using genome sequencing data. This package includes\nthree different machine learning models, random forest,\nXGBoost, and elastic net, to train and predict mapped genome\nsamples. Mappability profile and unreliable regions are\nintroduced to the algorithm, and users can build a mappability\nprofile from scratch with functions included in the package.\nPlotting mapped sample coverage information is provided.",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RdMacros": "Rdpack",
  "License": "MIT + file LICENSE",
  "LazyDataCompression": "xz",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 08:03:19 UTC",
    "User": "root"
  },
  "Author": "Haochen Ning [aut], Ian Boyes [aut], Ibrahim Numanagić [aut]\n(ORCID: <https://orcid.org/0000-0002-2970-7937>), Michael Rott\n[aut], Li Xing [aut] (ORCID:\n<https://orcid.org/0000-0002-4186-7909>), Xuekui Zhang [aut,\ncre] (ORCID: <https://orcid.org/0000-0003-4728-2343>)",
  "Maintainer": "Xuekui Zhang <xuekui@uvic.ca>",
  "Config/pak/sysreqs": "make libbz2-dev libicu-dev liblzma-dev xz-utils\nzlib1g-dev",
  "Repository": "https://ubcxzhang.r-universe.dev",
  "Date/Publication": "2025-12-04 06:50:17 UTC",
  "RemoteUrl": "https://github.com/cran/iimi",
  "RemoteRef": "HEAD",
  "RemoteSha": "833fa4762f4b4f959e108613a145c51ef6fccbda",
  "MD5sum": "797349117e269f8cd441d92bfa99c75c",
  "_user": "ubcxzhang",
  "_type": "src",
  "_file": "iimi_1.2.2.tar.gz",
  "_fileid": "ae64517fc199f36f84678f2cc1dc384f9219870cc445cbd9dd59d50bbc896d5d",
  "_filesize": 2823437,
  "_sha256": "ae64517fc199f36f84678f2cc1dc384f9219870cc445cbd9dd59d50bbc896d5d",
  "_created": "2026-05-16T08:03:19.000Z",
  "_published": "2026-06-02T18:23:15.521Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79142150851,
      "time": 340,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031840977"
    },
    {
      "job": 79142150422,
      "time": 321,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031839190"
    },
    {
      "job": 79142150874,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031832486"
    },
    {
      "job": 79142150783,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031829498"
    },
    {
      "job": 79142149408,
      "time": 293,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031807133"
    },
    {
      "job": 79142149869,
      "time": 170,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366340815"
    },
    {
      "job": 79142150174,
      "time": 301,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031837212"
    },
    {
      "job": 79142150848,
      "time": 278,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031835184"
    },
    {
      "job": 79142150939,
      "time": 279,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031835186"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ubcxzhang/actions/runs/25956758779",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/iimi",
  "_commit": {
    "id": "833fa4762f4b4f959e108613a145c51ef6fccbda",
    "author": "Xuekui Zhang <xuekui@uvic.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.2\n",
    "time": 1764831017
  },
  "_maintainer": {
    "name": "Xuekui Zhang",
    "email": "xuekui@uvic.ca",
    "login": "ubcxzhang",
    "uuid": 4983857,
    "orcid": "0000-0003-4728-2343"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Biostrings",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "GenomicAlignments",
      "role": "Imports"
    },
    {
      "package": "IRanges",
      "role": "Imports"
    },
    {
      "package": "mltools",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "role": "Imports"
    },
    {
      "package": "Rsamtools",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "xgboost",
      "role": "Imports"
    },
    {
      "package": "MTPS",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "R.utils",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "httr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2.2",
      "date": "2025-12-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ubcxzhang",
      "count": 5,
      "uuid": 4983857
    }
  ],
  "_userbio": {
    "uuid": 4983857,
    "type": "user",
    "name": "Xuekui Zhang"
  },
  "_downloads": {
    "count": 190,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/iimi"
  },
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/iimi.html",
    "manual.pdf"
  ],
  "_realowner": "ubcxzhang",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2024-03-07"
    },
    {
      "version": "1.1.0",
      "date": "2024-07-18"
    },
    {
      "version": "1.1.1",
      "date": "2024-07-26"
    },
    {
      "version": "1.2.1",
      "date": "2024-11-01"
    },
    {
      "version": "1.2.2",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "convert_bam_to_rle",
    "convert_rle_to_df",
    "create_high_nucleotide_content",
    "create_mappability_profile",
    "plot_cov",
    "predict_iimi",
    "train_iimi"
  ],
  "_datasets": [
    {
      "name": "example_cov",
      "title": "Coverage profiles of three plant samples.",
      "object": "example_cov",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "example_diag",
      "title": "Known diagnostics result of virus segments",
      "object": "example_diag",
      "class": [
        "data.frame"
      ],
      "fields": [
        "333A",
        "305S",
        "428A"
      ],
      "rows": 3138,
      "table": true,
      "tojson": true
    },
    {
      "name": "nucleotide_info",
      "title": "Nucleotide information of virus segments",
      "object": "nucleotide_info",
      "class": [
        "data.frame"
      ],
      "fields": [
        "virus_name",
        "iso_id",
        "seg_id",
        "A_percent",
        "C_percent",
        "T_percent",
        "GC_percent",
        "seg_len",
        "1_4_0",
        "1_5_0"
      ],
      "rows": 7921,
      "table": true,
      "tojson": true
    },
    {
      "name": "trained_en",
      "title": "A trained model using the default Elastic Net settings",
      "object": "trained_en",
      "class": [
        "cv.glmnet"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "trained_rf",
      "title": "A trained model using the default Random Forest settings",
      "object": "trained_rf",
      "class": [
        "randomForest.formula",
        "randomForest"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "trained_xgb",
      "title": "A trained model using the default XGBoost settings",
      "object": "trained_xgb",
      "class": [
        "raw"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "unreliable_regions",
      "title": "The unreliable regions of the virus segments",
      "object": "unreliable_regions",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Start",
        "End",
        "Virus segment",
        "Categories",
        "1_4_0",
        "1_5_0"
      ],
      "rows": 46695,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "convert_bam_to_rle",
      "title": "convert_bam_to_rle",
      "topics": [
        "convert_bam_to_rle"
      ]
    },
    {
      "page": "convert_rle_to_df",
      "title": "Convert run-length encodings (RLEs) to a data frame.",
      "topics": [
        "convert_rle_to_df"
      ]
    },
    {
      "page": "create_high_nucleotide_content",
      "title": "create_high_nucleotide_content",
      "topics": [
        "create_high_nucleotide_content"
      ]
    },
    {
      "page": "create_mappability_profile",
      "title": "create_mappability_profile",
      "topics": [
        "create_mappability_profile"
      ]
    },
    {
      "page": "example_cov",
      "title": "Coverage profiles of three plant samples.",
      "topics": [
        "example_cov"
      ]
    },
    {
      "page": "example_diag",
      "title": "Known diagnostics result of virus segments",
      "topics": [
        "example_diag"
      ]
    },
    {
      "page": "nucleotide_info",
      "title": "Nucleotide information of virus segments",
      "topics": [
        "nucleotide_info"
      ]
    },
    {
      "page": "plot_cov",
      "title": "plot_cov()",
      "topics": [
        "plot_cov"
      ]
    },
    {
      "page": "predict_iimi",
      "title": "predict_iimi()",
      "topics": [
        "predict_iimi"
      ]
    },
    {
      "page": "train_iimi",
      "title": "train_iimi()",
      "topics": [
        "train_iimi"
      ]
    },
    {
      "page": "trained_en",
      "title": "A trained model using the default Elastic Net settings",
      "topics": [
        "trained_en"
      ]
    },
    {
      "page": "trained_rf",
      "title": "A trained model using the default Random Forest settings",
      "topics": [
        "trained_rf"
      ]
    },
    {
      "page": "trained_xgb",
      "title": "A trained model using the default XGBoost settings",
      "topics": [
        "trained_xgb"
      ]
    },
    {
      "page": "unreliable_regions",
      "title": "The unreliable regions of the virus segments",
      "topics": [
        "unreliable_regions"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "BH",
    "Biobase",
    "BiocGenerics",
    "BiocParallel",
    "Biostrings",
    "bitops",
    "caret",
    "cigarillo",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "crayon",
    "data.table",
    "DelayedArray",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "foreach",
    "formatR",
    "futile.logger",
    "futile.options",
    "future",
    "future.apply",
    "generics",
    "GenomicAlignments",
    "GenomicRanges",
    "ggplot2",
    "glmnet",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "IRanges",
    "isoband",
    "iterators",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "lambda.r",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "mltools",
    "ModelMetrics",
    "MTPS",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "randomForest",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "recipes",
    "reshape2",
    "Rhtslib",
    "rlang",
    "rpart",
    "Rsamtools",
    "S4Arrays",
    "S4Vectors",
    "S7",
    "scales",
    "Seqinfo",
    "shape",
    "snow",
    "SparseArray",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "SummarizedExperiment",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xgboost",
    "XVector"
  ],
  "_vignettes": [
    {
      "source": "package_vignette.Rmd",
      "filename": "package_vignette.html",
      "title": "Introduction to the iimi package",
      "author": "Haochen Ning",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "1.1. Installation",
        "1.2. Loading packages and data",
        "1.3. Data Pre-processing",
        "2. Converting BAM file(s) into coverage profiles and feature-extracted data frame",
        "2.1. State the path to the folder of your BAM files",
        "2.2. Create a data frame that contains the coverage profiles.",
        "2.2.1. Convert BAM files to a list of RLEs.",
        "2.2.2. Convert the list of RLEs to a feature-extracted data frame.",
        "3. Predicting the plant sample(s)",
        "3.1 Using pre-trained models and no customization",
        "3.2. Customizing your own model",
        "3.3. Customizing unreliable regions",
        "3.3.1. Mappability profile",
        "3.3.2. High nucleotide content regions",
        "4. Visualizing the coverage profiles",
        "5. References"
      ],
      "created": "2024-03-08 02:32:25",
      "modified": "2025-12-04 06:50:17",
      "commits": 5
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "iimi",
  "_universes": [
    "ubcxzhang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-16T08:06:48.000Z",
      "distro": "noble",
      "commit": "833fa4762f4b4f959e108613a145c51ef6fccbda",
      "fileid": "1c6d1276e32a53d74c34e9a50734313ea843b937ffc15701111f550c9b0dd7f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ubcxzhang/actions/runs/25956758779"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-16T08:06:37.000Z",
      "distro": "noble",
      "commit": "833fa4762f4b4f959e108613a145c51ef6fccbda",
      "fileid": "107766f79588baae786e1a66ee77fddee7b6650f4c15c061329a5b64b90a41c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ubcxzhang/actions/runs/25956758779"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-16T08:06:45.000Z",
      "commit": "833fa4762f4b4f959e108613a145c51ef6fccbda",
      "fileid": "8a79a281d0401d81c46e0eb1cf9e65a81fa6e68f0b905a6ea47439df5b54e4ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ubcxzhang/actions/runs/25956758779"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-16T08:05:57.000Z",
      "commit": "833fa4762f4b4f959e108613a145c51ef6fccbda",
      "fileid": "c375b943c201ba35dbc87d25c23801223402e2189064038c34b1ed3468e0eb91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ubcxzhang/actions/runs/25956758779"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-16T08:05:56.000Z",
      "commit": "833fa4762f4b4f959e108613a145c51ef6fccbda",
      "fileid": "185c356ed2104780f798d83eb26a3b906c38d6a9394e7ed4e141a82c6409d5f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ubcxzhang/actions/runs/25956758779"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-16T08:05:43.000Z",
      "commit": "833fa4762f4b4f959e108613a145c51ef6fccbda",
      "fileid": "49f1ddf543615cbba283a6a604f1d35874cdbe91d0d0bc38b975adf5bb680319",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ubcxzhang/actions/runs/25956758779"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-16T08:05:44.000Z",
      "commit": "833fa4762f4b4f959e108613a145c51ef6fccbda",
      "fileid": "8abaf96f6f01cdcaa4f44e8e30826422a74919fcb156acc860ec5d5808759b61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ubcxzhang/actions/runs/25956758779"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2",
      "date": "2026-06-02T18:22:40.000Z",
      "commit": "833fa4762f4b4f959e108613a145c51ef6fccbda",
      "fileid": "0bb7ca7f8473117a9097dd1223efd4e3d23e6bc8ec4e56c98b44789aaf000eed",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ubcxzhang/actions/runs/25956758779"
    }
  ]
}