{
  "_id": "6ae3c3373d0f299392dd1e77",
  "Package": "cepip",
  "Type": "Package",
  "Title": "Cell Explanatory Power with Inflection Point (CEP-IP) with CMRF",
  "Version": "0.1.0",
  "Authors@R": "person(\"Kah Keng\", \"Wong\", role = c(\"aut\", \"cre\"),\nemail = \"kahkeng3@gmail.com\",\ncomment = c(ORCID = \"0000-0001-7359-6202\"))",
  "Description": "Implements the cell explanatory power with inflection\npoint (CEP-IP) framework for single-cell co-expression\nanalysis. A generalized additive model (GAM) fitted by\nrestricted maximum likelihood (REML) with a penalized residual\nsum of squares (PRSS) search over the basis dimension relates a\ngene of interest to the mean of its partner genes. Cells are\nranked by their explanatory power, and the inflection point is\nthe first negative-to-positive zero crossing of a residual GAM.\nOptional extensions are the Spearman-Kendall cell-level score\n(SKCS) and the copula monotone recovery filter (CMRF), which\nrecovers cells near the module through a tolerance band and a\nrepeated stratified k-fold cross-validation gate. Downstream\nhelpers give per-donor module fractions, paired donor-level\ndifferential expression and donor-level association models.\nCEP-IP is described in Wong (2026)\n<doi:10.1016/j.cmpb.2026.109372>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.1",
  "URL": "https://github.com/kahkengwong/cepip",
  "BugReports": "https://github.com/kahkengwong/cepip/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-29 22:01:47 UTC",
    "User": "root"
  },
  "Author": "Kah Keng Wong [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7359-6202>)",
  "Maintainer": "Kah Keng Wong <kahkeng3@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-29 21:14:50 UTC",
  "RemoteUrl": "https://github.com/cran/cepip",
  "RemoteRef": "HEAD",
  "RemoteSha": "49283c8c1341a9b015bfe35820d2b1f69fa87f03",
  "_user": "cran",
  "_type": "src",
  "_file": "cepip_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d69c64d13175f3184e48ba76f7d9f3f80fea74a8ba31fb7665685ac5ab0bbca9",
  "_filesize": 1678305,
  "_sha256": "d69c64d13175f3184e48ba76f7d9f3f80fea74a8ba31fb7665685ac5ab0bbca9",
  "_expires": "2027-02-06T22:05:41.000Z",
  "_created": "2026-10-29T22:01:47.000Z",
  "_published": "2026-10-29T22:05:43.897Z",
  "_upstream": "https://github.com/cran/cepip",
  "_status": "success",
  "_maintainer": {
    "name": "Kah Keng Wong",
    "email": "kahkeng3@gmail.com",
    "login": "kahkengwong",
    "orcid": "0000-0001-7359-6202",
    "description": "Computational biology; Machine learning; Onco/neuroimmunology; Immunology",
    "uuid": 48384560
  },
  "_jobs": [
    {
      "job": 123759205153,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12936837590"
    },
    {
      "job": 123759205002,
      "time": 179,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12936752816"
    },
    {
      "job": 123757749580,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12935278642"
    },
    {
      "job": 123759205099,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12936613253"
    },
    {
      "job": 123759205131,
      "time": 164,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12937140482"
    },
    {
      "job": 123759205289,
      "time": 142,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12937140419"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40962198647",
  "_commit": {
    "id": "49283c8c1341a9b015bfe35820d2b1f69fa87f03",
    "author": "Kah Keng Wong <kahkeng3@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1793308490
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "openxlsx",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "energy",
      "role": "Suggests"
    },
    {
      "package": "clinfun",
      "role": "Suggests"
    },
    {
      "package": "pcaPP",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-10-29"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kahkengwong",
      "count": 1,
      "uuid": 48384560
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cepip"
  },
  "_devurl": "https://github.com/kahkengwong/cepip",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/cepip.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-29"
    }
  ],
  "_exports": [
    "cepip",
    "cepip_associate",
    "cepip_band",
    "cepip_cmrf",
    "cepip_composite",
    "cepip_deg",
    "cepip_donor",
    "cepip_ep",
    "cepip_example",
    "cepip_example_clear",
    "cepip_fit",
    "cepip_groups",
    "cepip_ip",
    "cepip_save",
    "cepip_screen",
    "cepip_skcs",
    "cepip_validate",
    "plot_associate",
    "plot_band",
    "plot_copula",
    "plot_deg",
    "plot_donor",
    "plot_fit",
    "plot_module",
    "plot_pitcher",
    "plot_prss",
    "plot_residual",
    "plot_rskfcv",
    "plot_screen",
    "plot_validate"
  ],
  "_datasets": [
    {
      "name": "cepip_toy",
      "title": "Simulated example data",
      "object": "cepip_toy",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "donor",
        "region",
        "x",
        "P1",
        "P2",
        "P3",
        "P4",
        "P5",
        "P6",
        "P7",
        "P8",
        "y"
      ],
      "rows": 1200,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cepip",
      "title": "Run CEP-IP, optionally with SKCS and CMRF",
      "topics": [
        "cepip"
      ]
    },
    {
      "page": "cepip_associate",
      "title": "Donor-level association with outcomes",
      "topics": [
        "cepip_associate"
      ]
    },
    {
      "page": "cepip_band",
      "title": "CMRF tolerance band (Stage 1)",
      "topics": [
        "cepip_band"
      ]
    },
    {
      "page": "cepip_cmrf",
      "title": "Copula monotone recovery filter (CMRF)",
      "topics": [
        "cepip_cmrf"
      ]
    },
    {
      "page": "cepip_composite",
      "title": "Composite expression of partner genes",
      "topics": [
        "cepip_composite"
      ]
    },
    {
      "page": "cepip_deg",
      "title": "Differential expression between cell groups, paired by donor",
      "topics": [
        "cepip_deg"
      ]
    },
    {
      "page": "cepip_donor",
      "title": "Per-donor share of cells in each group",
      "topics": [
        "cepip_donor"
      ]
    },
    {
      "page": "cepip_ep",
      "title": "Cell explanatory power and TREP cells",
      "topics": [
        "cepip_ep"
      ]
    },
    {
      "page": "cepip_example",
      "title": "Download the SEA-AD example data",
      "topics": [
        "cepip_example"
      ]
    },
    {
      "page": "cepip_example_clear",
      "title": "Delete the cached example data",
      "topics": [
        "cepip_example_clear"
      ]
    },
    {
      "page": "cepip_fit",
      "title": "Fit the CEP-IP GAM",
      "topics": [
        "cepip_fit"
      ]
    },
    {
      "page": "cepip_groups",
      "title": "Cell groups for downstream analyses",
      "topics": [
        "cepip_groups"
      ]
    },
    {
      "page": "cepip_ip",
      "title": "Inflection point (IP) and IP reliability score (IPRS)",
      "topics": [
        "cepip_ip"
      ]
    },
    {
      "page": "cepip_save",
      "title": "Save the tables and plots of one arm",
      "topics": [
        "cepip_save"
      ]
    },
    {
      "page": "cepip_screen",
      "title": "Spearman-Kendall dual-filter screen for partner genes",
      "topics": [
        "cepip_screen"
      ]
    },
    {
      "page": "cepip_skcs",
      "title": "Spearman-Kendall cell-level scores (SKCS)",
      "topics": [
        "cepip_skcs"
      ]
    },
    {
      "page": "cepip_toy",
      "title": "Simulated example data",
      "topics": [
        "cepip_toy"
      ]
    },
    {
      "page": "cepip_validate",
      "title": "Validate the CMRF Module by refitting the CEP-IP GAM (Validation1)",
      "topics": [
        "cepip_validate"
      ]
    },
    {
      "page": "plot_associate",
      "title": "Forest plot of donor-level associations",
      "topics": [
        "plot_associate"
      ]
    },
    {
      "page": "plot_band",
      "title": "Plot the formation of the CMRF band (Figure 6)",
      "topics": [
        "plot_band"
      ]
    },
    {
      "page": "plot_copula",
      "title": "Plot the cells and the CMRF band in copula space",
      "topics": [
        "plot_copula"
      ]
    },
    {
      "page": "plot_deg",
      "title": "Volcano plot of one differential expression contrast",
      "topics": [
        "plot_deg"
      ]
    },
    {
      "page": "plot_donor",
      "title": "Plot the per-donor Module Post-IP percentage",
      "topics": [
        "plot_donor"
      ]
    },
    {
      "page": "plot_fit",
      "title": "Plot the CEP-IP GAM with the inflection point",
      "topics": [
        "plot_fit"
      ]
    },
    {
      "page": "plot_module",
      "title": "Pitcher plot of the CMRF classes in copula space (Figure 8A)",
      "topics": [
        "plot_module"
      ]
    },
    {
      "page": "plot_pitcher",
      "title": "Pitcher plot of the SKCS scores",
      "topics": [
        "plot_pitcher"
      ]
    },
    {
      "page": "plot_prss",
      "title": "Plot the PRSS search over the basis dimension k",
      "topics": [
        "plot_prss"
      ]
    },
    {
      "page": "plot_residual",
      "title": "Plot the residual GAM R(x) and the IP",
      "topics": [
        "plot_residual"
      ]
    },
    {
      "page": "plot_rskfcv",
      "title": "Plot the RSk-fCV gate of CMRF Stage 2 (Figure 7)",
      "topics": [
        "plot_rskfcv"
      ]
    },
    {
      "page": "plot_screen",
      "title": "Plot the partner-gene screen of one GOI",
      "topics": [
        "plot_screen"
      ]
    },
    {
      "page": "plot_validate",
      "title": "Plot the Validation1 refit of the CMRF Module",
      "topics": [
        "plot_validate"
      ]
    },
    {
      "page": "print.cepip_figure",
      "title": "Draw a multi-panel cepip figure",
      "topics": [
        "print.cepip_figure"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "mgcv",
    "nlme",
    "openxlsx",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "vctrs",
    "viridisLite",
    "withr",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "cepip.Rmd",
      "filename": "cepip.html",
      "title": "Getting started with cepip",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. What the package does",
        "2. Quick example on simulated data",
        "3. Tuning the CMRF band",
        "4. Downstream analyses",
        "5. The partner screen",
        "6. Reproducing the SEA-AD analysis"
      ],
      "created": "2026-10-29 21:14:50",
      "modified": "2026-10-29 21:14:50",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "cepip",
  "_universes": [
    "cran",
    "kahkengwong"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-29T22:04:00.000Z",
      "distro": "resolute",
      "commit": "49283c8c1341a9b015bfe35820d2b1f69fa87f03",
      "fileid": "https://r2.ropensci.org/5e148afcb6eb0b6e622e0e1fe0410f359911eeebd481f906a659a3969fbd698a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40962198647"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-29T22:03:47.000Z",
      "distro": "resolute",
      "commit": "49283c8c1341a9b015bfe35820d2b1f69fa87f03",
      "fileid": "https://r2.ropensci.org/789e2ab74431f84641866a7eaac83e6b03b1ccf4e5034b80dc02e1ecece4ba09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40962198647"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-29T22:03:56.000Z",
      "commit": "49283c8c1341a9b015bfe35820d2b1f69fa87f03",
      "fileid": "https://r2.ropensci.org/946395f739dc531d662e0b0bb06f05c86b54e49b6a4ad3e9850df99d0f9d1d1e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40962198647"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-29T22:03:03.000Z",
      "commit": "49283c8c1341a9b015bfe35820d2b1f69fa87f03",
      "fileid": "https://r2.ropensci.org/71a74ec59969d38860f52a096eefc47fdfcadb5f98a32c9b3e65095783cd4d18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40962198647"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-29T22:03:08.000Z",
      "commit": "49283c8c1341a9b015bfe35820d2b1f69fa87f03",
      "fileid": "https://r2.ropensci.org/4b31f1861140e779a6f786becbedc5bdc5760790e0719be69ab32673ea4d87df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40962198647"
    }
  ]
}