Package: iconic
Title: Causal Model Selection with Genetic Instruments and Negative
        Controls
Version: 0.99.5
biocViews: StatisticalMethod, Genetics, MultipleComparison, Regression,
        Transcriptomics, RNASeq, Survival, GeneExpression, SNP,
        GeneticVariability
Authors@R: c(
    person("Sean T.", "Bresnahan", role = c("aut", "cre"),
        email = "seantbresnahan3@gmail.com",
        comment = c(ORCID = "0000-0001-6685-1930")),
    person("Charis", "Xiong", role = "aut",
        email = "charis.xiong@gmail.com"))
Description: Provides a model selection workflow for causal inference
    with genetic instruments and negative controls in observational omics
    data. The package fits eight estimators of the natural direct and
    indirect effects (NDE/NIE), diagnoses which are valid for the user's
    data via instrument-strength checks and negative-control validity
    screens (A1, A2, A2'), stress-tests them against confounding and
    pleiotropy violations, and recommends the estimator most likely to be
    unbiased. A hybrid generative texture model (a torch GAN for
    sample-level structure and a Gaussian copula for the mediator panel)
    lets the sensitivity analysis mirror the marginal and joint structure
    of the user's cohort. The modular API comprises iconic_data() to
    standardize data, iconic_diagnose() to assess estimator eligibility,
    iconic_estimate() to fit all eligible estimators, iconic_sensitivity()
    to sweep instrument exogeneity, iconic_recommend() to rank estimators
    by identification strength and robustness, and iconic_prospect() to
    plan future studies. infer_confounding() estimates held-fixed
    confounding parameters from the data. Multi-omic cohorts are supplied
    as MultiAssayExperiment objects (omics panels as experiments,
    sample-level exposure, instruments and covariates as colData), and
    analysis data can be exported back to MultiAssayExperiment. Helper
    functions construct exposure instruments (polygenic scores from GWAS
    summary statistics or PGS Catalog scoring files), mediator instruments
    (GenomicRanges-based cis-eQTL scans and elastic-net
    predicted-expression composites from RangedSummarizedExperiment or
    matrix inputs), and negative-control panels (principal components of
    residualized omics matrices).
    Time-to-event outcomes are supported on the Cox log-hazard-ratio and
    restricted-mean-survival-time scales. Binary outcomes are supported
    on the log-odds-ratio (logistic two-stage predictor-substitution
    outcome stage) and risk-difference (linear probability model)
    scales. The torch package is required
    for the generative texture model (sensitivity and prospective
    analysis); all other functionality works without it. The methods are
    described in Bresnahan et al. (2026) <doi:10.64898/2026.08.26.26361466>.
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Config/roxygen2/version: 8.1.1
Imports: AER, GenomicRanges, grDevices, graphics, IRanges, MASS,
        methods, MultiAssayExperiment, parallel, S4Vectors, stats,
        SummarizedExperiment, survival, utils, withr
Suggests: testthat (>= 3.0.0), ggplot2, patchwork, scales, knitr,
        rmarkdown, torch, bigsnpr, bigstatsr, glmnet, irlba, BiocStyle
VignetteBuilder: knitr
Config/testthat/edition: 3
URL: https://seantbresnahan.com/iconic/,
        https://github.com/sbresnahan/iconic
BugReports: https://github.com/sbresnahan/iconic/issues
NeedsCompilation: no
git_url: https://git.bioconductor.org/packages/iconic
git_branch: devel
git_last_commit: c7ba0c5
git_last_commit_date: 2026-11-17
Repository: Bioconductor 3.24
Date/Publication: 2026-11-18
Packaged: 2026-11-18 23:40:27 UTC; biocbuild
Author: Sean T. Bresnahan [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-6685-1930>),
  Charis Xiong [aut]
Maintainer: Sean T. Bresnahan <seantbresnahan3@gmail.com>
