{
  "_id": "6a168d18acfb0bcc41d774ce",
  "Package": "MethScope",
  "Title": "Ultra-Fast Analysis of Sparse DNA Methylome via Recurrent\nPattern Encoding",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\"Hongxiang\", \"Fu\", , \"fhx@seas.upenn.edu\", role = c(\"aut\", \"cre\"),comment = c(ORCID = \"0000-0002-9873-8606\")),\nperson(\"Wanding\", \"Zhou\", , \"wanding.zhou@pennmedicine.upenn.edu\", role = c(\"cph\", \"fnd\")),\nperson(\"The SAMtools/HTSlib authors\", role = c(\"ctb\",\"cph\"),\ncomment = \"BGZF components; see inst/COPYRIGHTS\"),\nperson(given = \"Attractive\", family = \"Chaos\",\nrole = c(\"ctb\",\"cph\"),\ncomment = \"Author and copyright holder of khash.h (klib, MIT license)\")\n)",
  "Description": "Methods for analyzing DNA methylation data via Most\nRecurrent Methylation Patterns (MRMPs). Supports cell-type\nannotation, spatial deconvolution, unsupervised clustering, and\ncancer cell-of-origin inference. Includes C-backed summaries\nfor YAME “.cg/.cm” files (overlap counts, log2 odds ratios,\nbeta/depth aggregation), an XGBoost classifier, NNLS\ndeconvolution, and plotting utilities. Scales to large spatial\nand single-cell methylomes and is robust to extreme sparsity.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-27 06:09:48 UTC",
    "User": "root"
  },
  "Maintainer": "Hongxiang Fu <fhx@seas.upenn.edu>",
  "Language": "en-US",
  "Author": "Hongxiang Fu [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9873-8606>), Wanding Zhou [cph,\nfnd], The SAMtools/HTSlib authors [ctb, cph] (BGZF components;\nsee inst/COPYRIGHTS), Attractive Chaos [ctb, cph] (Author and\ncopyright holder of khash.h (klib, MIT license))",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://hongxiang2023.r-universe.dev",
  "Date/Publication": "2026-02-26 19:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/MethScope",
  "RemoteRef": "HEAD",
  "RemoteSha": "850259066f10a0b154e5bb0238724d54d7f02dad",
  "MD5sum": "bfddc09d0899eb2536301316a11dfddd",
  "_user": "hongxiang2023",
  "_type": "src",
  "_file": "MethScope_1.0.1.tar.gz",
  "_fileid": "fe1ec459c0328802081c672ef10d8bbeccd91b4b5ea072f4c0c15ffb5b2a01bf",
  "_filesize": 7195389,
  "_sha256": "fe1ec459c0328802081c672ef10d8bbeccd91b4b5ea072f4c0c15ffb5b2a01bf",
  "_created": "2026-05-27T06:09:48.000Z",
  "_published": "2026-05-27T06:20:07.749Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78018132236,
      "time": 207,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233192759"
    },
    {
      "job": 78018132384,
      "time": 217,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233194908"
    },
    {
      "job": 78018132235,
      "time": 232,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233198456"
    },
    {
      "job": 78018132210,
      "time": 227,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233197292"
    },
    {
      "job": 78018132189,
      "time": 259,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233191784"
    },
    {
      "job": 78018132219,
      "time": 561,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233263904"
    },
    {
      "job": 78018132329,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233182366"
    },
    {
      "job": 78018132289,
      "time": 332,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233215391"
    },
    {
      "job": 78017632711,
      "time": 258,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233143693"
    },
    {
      "job": 78018132178,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78018132347,
      "time": 160,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233181884"
    },
    {
      "job": 78018132232,
      "time": 172,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233184940"
    },
    {
      "job": 78018132291,
      "time": 169,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233183886"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/MethScope",
  "_commit": {
    "id": "850259066f10a0b154e5bb0238724d54d7f02dad",
    "author": "Hongxiang Fu <fhx@seas.upenn.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.1\n",
    "time": 1772133602
  },
  "_maintainer": {
    "name": "Hongxiang Fu",
    "email": "fhx@seas.upenn.edu",
    "login": "hongxiang2023",
    "description": "",
    "uuid": 50134879,
    "orcid": "0000-0002-9873-8606"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "xgboost",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "uwot",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "FNN",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "nnls",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-12-09"
    },
    {
      "name": "1.0.1",
      "date": "2026-02-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hongxiang2023",
      "count": 2,
      "uuid": 50134879
    }
  ],
  "_userbio": {
    "uuid": 50134879,
    "type": "user",
    "name": "Hongxiang Fu"
  },
  "_downloads": {
    "count": 148,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MethScope"
  },
  "_searchresults": 5,
  "_topics": [
    "zlib"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MethScope.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "hongxiang2023",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-12-11"
    },
    {
      "version": "1.0.1",
      "date": "2026-02-26"
    }
  ],
  "_exports": [
    "confidence_score",
    "confidence_score_top95",
    "filter_cell",
    "GenerateInput",
    "GenerateReference",
    "imputeRowMean",
    "Input_training",
    "nnls_deconv",
    "PlotConfusion",
    "PlotF1",
    "PlotUMAP",
    "PlotUMAP_fixedwindow",
    "PredictCellType",
    "smooth_matrix"
  ],
  "_help": [
    {
      "page": "confidence_score",
      "title": "Produce confidence score for XGBoost prediction",
      "topics": [
        "confidence_score"
      ]
    },
    {
      "page": "confidence_score_top95",
      "title": "Produce confidence score based on top 95 percent for XGBoost prediction",
      "topics": [
        "confidence_score_top95"
      ]
    },
    {
      "page": "filter_cell",
      "title": "Filter final prediction to reduce noise",
      "topics": [
        "filter_cell"
      ]
    },
    {
      "page": "GenerateInput",
      "title": "Generate pattern level data for cell type annotation",
      "topics": [
        "GenerateInput"
      ]
    },
    {
      "page": "GenerateReference",
      "title": "Generate reference pattern labels (no default writing)",
      "topics": [
        "GenerateReference"
      ]
    },
    {
      "page": "imputeRowMean",
      "title": "Impute missing value for 100K window matrix",
      "topics": [
        "imputeRowMean"
      ]
    },
    {
      "page": "Input_training",
      "title": "Train XGBoost model to predict cell type",
      "topics": [
        "Input_training"
      ]
    },
    {
      "page": "nnls_deconv",
      "title": "Estimate cell type relative proportion",
      "topics": [
        "nnls_deconv"
      ]
    },
    {
      "page": "PlotConfusion",
      "title": "Generate confusion table for the final prediction",
      "topics": [
        "PlotConfusion"
      ]
    },
    {
      "page": "PlotF1",
      "title": "Generate F1 score barplot for each class",
      "topics": [
        "PlotF1"
      ]
    },
    {
      "page": "PlotUMAP",
      "title": "Generate UMAP for the final prediction based on cell patterns",
      "topics": [
        "PlotUMAP"
      ]
    },
    {
      "page": "PlotUMAP_fixedwindow",
      "title": "Generate UMAP for the final prediction based on fixed window eg.100kb bin widows",
      "topics": [
        "PlotUMAP_fixedwindow"
      ]
    },
    {
      "page": "PredictCellType",
      "title": "Predict cell type annotation from the trained model",
      "topics": [
        "PredictCellType"
      ]
    },
    {
      "page": "smooth_matrix",
      "title": "Smooth cell by pattern matrix to reduce noise",
      "topics": [
        "smooth_matrix"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/MethScope/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/MethScope/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "doParallel",
    "dplyr",
    "dqrng",
    "e1071",
    "farver",
    "FNN",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "irlba",
    "isoband",
    "iterators",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "ModelMetrics",
    "nlme",
    "nnet",
    "nnls",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppAnnoy",
    "RcppEigen",
    "RcppProgress",
    "recipes",
    "reshape2",
    "rlang",
    "rpart",
    "RSpectra",
    "S7",
    "scales",
    "shape",
    "sitmo",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "uwot",
    "vctrs",
    "viridisLite",
    "withr",
    "xgboost"
  ],
  "_sysdeps": [
    {
      "shlib": "libz",
      "package": "zlib1g",
      "headers": "zlib1g-dev",
      "source": "zlib",
      "version": "1:1.3.dfsg-3.1ubuntu2.1",
      "name": "zlib",
      "homepage": "http://zlib.net/",
      "description": "compression library - runtime"
    }
  ],
  "_vignettes": [
    {
      "source": "MethScope-MRMP.Rmd",
      "filename": "MethScope-MRMP.html",
      "title": "MethScope-MRMP",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Generate MRMP reference",
        "Generate MRMPs reference from cell type pseudobulks"
      ],
      "created": "2025-12-09 16:46:13",
      "modified": "2025-12-09 16:46:13",
      "commits": 1
    },
    {
      "source": "MethScope-Tutorial.Rmd",
      "filename": "MethScope-Tutorial.html",
      "title": "MethScope-Tutorial",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Generate cell/pixel/sample MRMPs' embedding",
        "Perform cell type annotation",
        "Train the classification model",
        "Visualize the prediction result",
        "Cell type deconvolution",
        "Unsupervised clustering"
      ],
      "created": "2025-12-09 16:46:13",
      "modified": "2026-02-26 19:20:02",
      "commits": 2
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "methscope",
  "_universes": [
    "hongxiang2023"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-27T06:12:52.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "018638cb5a275fad841dd9839be60e6adcce3a600ef381ed313c2e28fbcfc183",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-27T06:12:54.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "7002eba304a0c58a9a4ba4b642f62c6009a029883a8839c105b7fbf59591d38e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-27T06:13:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "5dff883c96f34c6516052f363e0da6512ec95b7684ed83a93e9327408e097a82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-27T06:13:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "b0d1f50ae5b63c754508e929b60e2084de80684ec7d26f596804d0feef2cf946",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-27T06:12:43.000Z",
      "arch": "aarch64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "0044e5634affc9e9501ff616dce3659f606bbc176868f8c1ba3e97912e8692f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-27T06:16:50.000Z",
      "arch": "x86_64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "3c8808e02fcd6fd1bbba288062e3a8dac43d1c381dd700de16245ef08b246f84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-27T06:12:10.000Z",
      "arch": "aarch64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "aad7e3a57ba6c2cfe481bc10e728f4dd9aa8337225b00c16156a4c6fcf538ff4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-27T06:13:39.000Z",
      "arch": "x86_64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "458f2321456b2745da167881e0beae72e983564553cc35cfe2501a242a4d4b9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-27T06:11:41.000Z",
      "arch": "x86_64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "3ccfc488b5f6c873517276b607588f81c3e0b976ab65f8c877581d892c1840a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-27T06:11:57.000Z",
      "arch": "x86_64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "6dd0a0fd5eb0c6cc4b6cbfd6785a3580855b3c0fe00d5de44a8bc1b5d696c1fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-27T06:11:55.000Z",
      "arch": "x86_64",
      "commit": "850259066f10a0b154e5bb0238724d54d7f02dad",
      "fileid": "ee67cf56fe05efd30ef40a0dd8b3feaed15fda8273711955bccec6bb0604a305",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hongxiang2023/actions/runs/26493958999"
    }
  ]
}