{
  "_id": "6adefa30bf30f5f47f1a6819",
  "Package": "MethScope",
  "Title": "Ultra-Fast Analysis of Sparse DNA Methylome via Recurrent\nPattern Encoding",
  "Version": "1.0.4",
  "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": "AGPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "zlib",
  "NeedsCompilation": "yes",
  "Language": "en-US",
  "Packaged": {
    "Date": "2026-10-26 06:53:55 UTC",
    "User": "root"
  },
  "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))",
  "Maintainer": "Hongxiang Fu <fhx@seas.upenn.edu>",
  "Config/pak/sysreqs": "zlib1g-dev",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-08-26 23:46:18 UTC",
  "RemoteUrl": "https://github.com/cran/MethScope",
  "RemoteRef": "HEAD",
  "RemoteSha": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
  "_user": "cran",
  "_type": "src",
  "_file": "MethScope_1.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/c5d973d892cff7184fb09d2d7e4f2bb09954c2523ebcaca99df79c5c8317df2c",
  "_filesize": 9972726,
  "_sha256": "c5d973d892cff7184fb09d2d7e4f2bb09954c2523ebcaca99df79c5c8317df2c",
  "_expires": "2027-02-03T06:58:54.000Z",
  "_created": "2026-10-26T06:53:55.000Z",
  "_published": "2026-10-26T06:58:56.480Z",
  "_upstream": "https://github.com/cran/MethScope",
  "_status": "success",
  "_maintainer": {
    "name": "Hongxiang Fu",
    "email": "fhx@seas.upenn.edu",
    "login": "hongxiang2023",
    "description": "",
    "uuid": 50134879,
    "orcid": "0000-0002-9873-8606"
  },
  "_jobs": [
    {
      "job": 121438871389,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12632881392"
    },
    {
      "job": 121438871265,
      "time": 193,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12633021224"
    },
    {
      "job": 121438871299,
      "time": 212,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12632403227"
    },
    {
      "job": 121438871280,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12633281643"
    },
    {
      "job": 121437604863,
      "time": 249,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12633130708"
    },
    {
      "job": 121438871251,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12632233310"
    },
    {
      "job": 121438871310,
      "time": 257,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12633106230"
    },
    {
      "job": 121438871290,
      "time": 189,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12633430271"
    },
    {
      "job": 121438871253,
      "time": 241,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12632597979"
    },
    {
      "job": 121438871297,
      "time": 175,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12632777470"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798",
  "_commit": {
    "id": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
    "author": "Hongxiang Fu <fhx@seas.upenn.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.4\n",
    "time": 1787787978
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "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"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-12-09"
    },
    {
      "name": "1.0.1",
      "date": "2026-02-26"
    },
    {
      "name": "1.0.2",
      "date": "2026-06-13"
    },
    {
      "name": "1.0.3",
      "date": "2026-06-16"
    },
    {
      "name": "1.0.4",
      "date": "2026-08-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hongxiang2023",
      "count": 5,
      "uuid": 50134879
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 313,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MethScope"
  },
  "_searchresults": 7,
  "_topics": [
    "zlib"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/MethScope.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_realowner": "hongxiang2023",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-12-11"
    },
    {
      "version": "1.0.1",
      "date": "2026-02-26"
    },
    {
      "version": "1.0.2",
      "date": "2026-06-13"
    },
    {
      "version": "1.0.3",
      "date": "2026-06-16"
    },
    {
      "version": "1.0.4",
      "date": "2026-08-27"
    }
  ],
  "_exports": [
    "confidence_score",
    "confidence_score_top95",
    "filter_cell",
    "GenerateInput",
    "GenerateReference",
    "imputeRowMean",
    "Input_training",
    "Liu2021_MouseBrain_P1000",
    "nnls_deconv",
    "PlotConfusion",
    "PlotF1",
    "PlotUMAP",
    "PlotUMAP_fixedwindow",
    "PredictCellType",
    "smooth_matrix",
    "Zhou2025_HumanAtlas_P1000"
  ],
  "_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 file",
      "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": "Liu2021_MouseBrain_P1000",
      "title": "Load the Liu et al. mouse brain pretrained model",
      "topics": [
        "Liu2021_MouseBrain_P1000"
      ]
    },
    {
      "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"
      ]
    },
    {
      "page": "Zhou2025_HumanAtlas_P1000",
      "title": "Load the Zhou et al. human atlas pretrained model",
      "topics": [
        "Zhou2025_HumanAtlas_P1000"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/MethScope/raw/HEAD/man/figures/logo.svg",
  "_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+really1.3.1-1ubuntu3.2",
      "name": "zlib",
      "homepage": "http://zlib.net/",
      "description": "compression library - runtime"
    }
  ],
  "_vignettes": [
    {
      "source": "methscope-cli.Rmd",
      "filename": "methscope-cli.html",
      "title": "methscope-cli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "When to Use methscope-cli",
        "Build methscope-cli",
        "Example Commands",
        "Cell-Type Prediction",
        "Generate a Feature Matrix",
        "Deconvolution",
        "Upscaling",
        "Runnable example",
        "Relationship to the R Package",
        "Notes on Input Order"
      ],
      "created": "2026-08-26 23:46:18",
      "modified": "2026-08-26 23:46:18",
      "commits": 1
    },
    {
      "source": "MethScope-Input.Rmd",
      "filename": "MethScope-Input.html",
      "title": "MethScope-Input",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Install command-line dependencies",
        "Choose the correct CpG reference",
        "Convert M/U count BED files",
        "Convert ALLC files",
        "Convert beta or methylation fraction files",
        "Convert binary BED tracks",
        "Use the converted file in MethScope",
        "Troubleshooting",
        "Related resources"
      ],
      "created": "2026-08-26 23:46:18",
      "modified": "2026-08-26 23:46:18",
      "commits": 1
    },
    {
      "source": "MethScope-MRMP.Rmd",
      "filename": "MethScope-MRMP.html",
      "title": "MethScope-MRMP",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Generate an MRMP reference",
        "Prerequisites",
        "Step 1: Binarize the reference .cg file",
        "Step 2: Build MRMP pattern definitions",
        "Step 3: Pack patterns into a .cm reference",
        "Build MRMP references from cell-type pseudobulks",
        "Step 1: Create pseudobulk profiles per cell type",
        "Step 2: Repeat per cell type and build MRMPs"
      ],
      "created": "2025-12-09 16:46:13",
      "modified": "2026-08-26 23:46:18",
      "commits": 2
    },
    {
      "source": "MethScope-Tutorial.Rmd",
      "filename": "MethScope-Tutorial.html",
      "title": "MethScope-Tutorial",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "1) Generate cell/pixel/sample MRMP embeddings",
        "2) Perform cell-type annotation",
        "3) Train a custom classification model",
        "4) Visualize prediction results",
        "5) Cell-type deconvolution",
        "6) Unsupervised clustering (Seurat example)",
        "7) Upscaling Network (10k-CpG block example)",
        "7.1 Prepare model input (x) and target (y)",
        "7.2 Train decoder (Python)",
        "7.3 Evaluate",
        "Related resources"
      ],
      "created": "2025-12-09 16:46:13",
      "modified": "2026-08-26 23:46:18",
      "commits": 5
    },
    {
      "source": "pretrained-models.Rmd",
      "filename": "pretrained-models.html",
      "title": "Pretrained models & bundles",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Using a pretrained bundle",
        "Bundling and unbundling",
        "Bundle format (technical)",
        "Models in R"
      ],
      "created": "2026-08-26 23:46:18",
      "modified": "2026-08-26 23:46:18",
      "commits": 1
    },
    {
      "source": "agent-skill.Rmd",
      "filename": "agent-skill.html",
      "title": "Using the MethScope agent skill",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Install for Codex",
        "Example Codex prompts",
        "Install for Claude-style project context",
        "What the skill knows",
        "Update the skill"
      ],
      "created": "2026-08-26 23:46:18",
      "modified": "2026-08-26 23:46:18",
      "commits": 1
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": false,
  "_nocasepkg": "methscope",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://hongxiang2023.r-universe.dev/MethScope",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-10-26T06:56:14.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
      "fileid": "https://r2.ropensci.org/ec4f986c6764cfc1edeb2ad7c60d4861f0c9664c9709a770001c890100426543",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-10-26T06:56:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
      "fileid": "https://r2.ropensci.org/d02464353f8566c2f47979ebc84be38c5dcb3996f59a34ff4dc232f01fac9354",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-10-26T06:57:07.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
      "fileid": "https://r2.ropensci.org/b1d0e925cce3ab8320a43778ce933899b4e5584651293914c33741548e53f2c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-10-26T06:56:28.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
      "fileid": "https://r2.ropensci.org/efd7dbf09339e2b020e5ece00f2033d6c1305f30ddb3f3173d2a7356db3f6891",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-10-26T06:56:25.000Z",
      "arch": "emscripten",
      "commit": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
      "fileid": "https://r2.ropensci.org/f2a8da1f5addcd1acfb0e266a2221d3e2578e53a50a67acd0631ad99b932b4c1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-26T06:57:21.000Z",
      "arch": "aarch64",
      "commit": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
      "fileid": "https://r2.ropensci.org/b9ea7f05e28e3a51662cbeb4da3f7a9763c33ed6ddacdbe641239c7ea530099f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-26T06:55:30.000Z",
      "arch": "x86_64",
      "commit": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
      "fileid": "https://r2.ropensci.org/8ddadda27e184d9c33de651f11e8eef49cd0275540854d12c5b2487c107b53a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-26T06:57:10.000Z",
      "arch": "aarch64",
      "commit": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
      "fileid": "https://r2.ropensci.org/acbbb932dee12bccac5a070e8ee610445ab809af76cfe9bf3660b138419fbe18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-26T06:55:53.000Z",
      "arch": "x86_64",
      "commit": "e927782e5dbbbf4a3a895ba6ba114d88bae648d8",
      "fileid": "https://r2.ropensci.org/319cc0581878dcf82834bf44c485afe57125d46411d456decf9d6187976776e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40282115798"
    }
  ]
}