{
  "_id": "6aefa80043b51afa49dd9988",
  "Package": "hetNSC",
  "Type": "Package",
  "Title": "Heteroscedastic Nearest Shrunken Centroid Classification",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Haiyan\", \"Wang\", email = \"hwang@ksu.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Mohammad Omar\", \"Sahtout\", role = \"aut\"),\nperson(\"Trevor\", \"Hastie\", role = \"ctb\",\ncomment = \"Author of the 'pamr' code this package is derived from\"),\nperson(\"Robert\", \"Tibshirani\", role = \"ctb\",\ncomment = \"Author of the 'pamr' code this package is derived from\"),\nperson(\"Balasubramanian\", \"Narasimhan\", role = \"ctb\",\ncomment = \"Author of the 'pamr' code this package is derived from\"),\nperson(\"Gilbert\", \"Chu\", role = \"ctb\",\ncomment = \"Author of the 'pamr' code this package is derived from\"))",
  "Description": "Nearest shrunken centroid (NSC) classifiers for\nhigh-dimensional, low-sample-size data such as gene expression.\nImplements the original homoscedastic NSC with soft\nthresholding (Prediction Analysis of Microarrays; Tibshirani et\nal. 2002 <doi:10.1073/pnas.082099299>), its hard- and\norder-thresholding versions (Sahtout, Wang and Ghimire 2024\n<doi:10.1080/03610918.2022.2047201>), and the heteroscedastic\nextension of Sahtout and Wang that uses class-specific\nvariances in both the test statistic and the discriminant\nfunction (methods STh3, HTh3 and OTh3). The thresholding\nparameter is selected by a refined (\"deep\") cross-validation\nsearch. Also provides the simulation design, per-class\nperformance metrics and the relative-heterogeneity diagnostic\nused in the paper.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-07 22:34:19 UTC",
    "User": "root"
  },
  "Author": "Haiyan Wang [aut, cre], Mohammad Omar Sahtout [aut], Trevor\nHastie [ctb] (Author of the 'pamr' code this package is derived\nfrom), Robert Tibshirani [ctb] (Author of the 'pamr' code this\npackage is derived from), Balasubramanian Narasimhan [ctb]\n(Author of the 'pamr' code this package is derived from),\nGilbert Chu [ctb] (Author of the 'pamr' code this package is\nderived from)",
  "Maintainer": "Haiyan Wang <hwang@ksu.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-07 21:00:37 UTC",
  "RemoteUrl": "https://github.com/cran/hetNSC",
  "RemoteRef": "HEAD",
  "RemoteSha": "4f40de6124a32cad636fff3c87cdf40067e7d0a8",
  "_user": "cran",
  "_type": "src",
  "_file": "hetNSC_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6cba9fb2e854a06904cb4cf91ff2b93e9572cac16cde9a3f4b16d10e58fcd4c4",
  "_filesize": 228171,
  "_sha256": "6cba9fb2e854a06904cb4cf91ff2b93e9572cac16cde9a3f4b16d10e58fcd4c4",
  "_expires": "2027-02-15T22:36:46.000Z",
  "_created": "2026-11-07T22:34:19.000Z",
  "_published": "2026-11-07T22:36:48.581Z",
  "_upstream": "https://github.com/cran/hetNSC",
  "_status": "success",
  "_maintainer": {
    "name": "Haiyan Wang",
    "email": "hwang@ksu.edu",
    "login": "hwanggit",
    "description": "Professor of Statistics, Kansas State University, Manhattan, KS 66506",
    "uuid": 229197672
  },
  "_jobs": [
    {
      "job": 128549978386,
      "time": 105,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13594180737"
    },
    {
      "job": 128549978312,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13593183256"
    },
    {
      "job": 128549236871,
      "time": 186,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13593532111"
    },
    {
      "job": 128549978361,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13593825996"
    },
    {
      "job": 128549978336,
      "time": 71,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13593099840"
    },
    {
      "job": 128549978366,
      "time": 60,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13594170654"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/42420987815",
  "_commit": {
    "id": "4f40de6124a32cad636fff3c87cdf40067e7d0a8",
    "author": "Haiyan Wang <hwang@ksu.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1794085237
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "pamr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-11-07"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hwanggit",
      "count": 1,
      "uuid": 229197672
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hetNSC"
  },
  "_searchresults": 4,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hetNSC.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-11-07"
    }
  ],
  "_exports": [
    "balanced_acc",
    "balanced_folds",
    "compare_nsc",
    "compute_rho2",
    "hnsc",
    "hnsc_cv",
    "hnsc_methods",
    "hnsc_select",
    "hnsc_train",
    "make_cm",
    "per_class_recall",
    "recall_table",
    "simulate_hetero_data"
  ],
  "_help": [
    {
      "page": "balanced_folds",
      "title": "Class-balanced cross-validation folds",
      "topics": [
        "balanced_folds"
      ]
    },
    {
      "page": "compare_nsc",
      "title": "Compare homoscedastic and heteroscedastic NSC classifiers on one dataset",
      "topics": [
        "compare_nsc"
      ]
    },
    {
      "page": "compute_rho2",
      "title": "Empirical relative heterogeneity rho_k^2 and the crossover condition",
      "topics": [
        "compute_rho2"
      ]
    },
    {
      "page": "hnsc",
      "title": "Fit a nearest shrunken centroid classifier with the threshold chosen by cross-validation",
      "topics": [
        "hnsc"
      ]
    },
    {
      "page": "hnsc_cv",
      "title": "Cross-validation for a fitted NSC classifier",
      "topics": [
        "hnsc_cv"
      ]
    },
    {
      "page": "hnsc_methods",
      "title": "The six nearest shrunken centroid classifiers",
      "topics": [
        "hnsc_methods"
      ]
    },
    {
      "page": "hnsc_select",
      "title": "Choose the threshold by refined (\"deep\") cross-validation",
      "topics": [
        "hnsc_select"
      ]
    },
    {
      "page": "hnsc_train",
      "title": "Train a nearest shrunken centroid classifier over a grid of thresholds",
      "topics": [
        "hnsc_train"
      ]
    },
    {
      "page": "make_cm",
      "title": "Confusion matrix, per-class recall and balanced accuracy",
      "topics": [
        "balanced_acc",
        "make_cm",
        "per_class_recall"
      ]
    },
    {
      "page": "predict.hnsc",
      "title": "Predict with a nearest shrunken centroid classifier",
      "topics": [
        "predict.hnsc"
      ]
    },
    {
      "page": "simulate_hetero_data",
      "title": "Simulate two-class data with correlated informative genes",
      "topics": [
        "simulate_hetero_data"
      ]
    },
    {
      "page": "summary.hnsc_comparison",
      "title": "Summaries of a classifier comparison",
      "topics": [
        "recall_table",
        "summary.hnsc_comparison"
      ]
    }
  ],
  "_readme": "https://github.com/cran/hetNSC/raw/HEAD/README.md",
  "_rundeps": [
    "MASS"
  ],
  "_vignettes": [
    {
      "source": "hetNSC.Rmd",
      "filename": "hetNSC.html",
      "title": "Getting started with hetNSC",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data layout",
        "Fit and predict",
        "Step by step",
        "Repeated-run comparison"
      ],
      "created": "2026-11-07 21:00:37",
      "modified": "2026-11-07 21:00:37",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "hetnsc",
  "_universes": [
    "cran",
    "hwanggit"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-07T22:36:08.000Z",
      "distro": "resolute",
      "commit": "4f40de6124a32cad636fff3c87cdf40067e7d0a8",
      "fileid": "https://r2.ropensci.org/4d4e59a3516366b38a030be8ef668899573580242e203190f648dbfd11cf89ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42420987815"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-07T22:36:12.000Z",
      "distro": "resolute",
      "commit": "4f40de6124a32cad636fff3c87cdf40067e7d0a8",
      "fileid": "https://r2.ropensci.org/8a9c79ce445b59cf697b746d6e34a366590970a573cb0f566258a454a2812695",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42420987815"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-07T22:36:09.000Z",
      "commit": "4f40de6124a32cad636fff3c87cdf40067e7d0a8",
      "fileid": "https://r2.ropensci.org/f82dffbb2f00362a7a401818a0db2dd08135fab042ed0c8577a300c02711a97f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42420987815"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-07T22:35:26.000Z",
      "commit": "4f40de6124a32cad636fff3c87cdf40067e7d0a8",
      "fileid": "https://r2.ropensci.org/dfb7837d333573e0754536d53a94591cebf0ecdf55d9fbb5c01bd33432f20faa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42420987815"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-07T22:35:23.000Z",
      "commit": "4f40de6124a32cad636fff3c87cdf40067e7d0a8",
      "fileid": "https://r2.ropensci.org/745ca17bc6dbcf101711b9cb9132900789c01e0d58c8718e01b8526117463f7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42420987815"
    }
  ]
}