{
  "_id": "6a1f2f23b401979e73426fcb",
  "Package": "gapmap",
  "Title": "Drawing Gapped Cluster Heatmaps with 'ggplot2'",
  "Version": "1.0.0",
  "Authors@R": "c(person(\"Ryo\", \"Sakai\", email=\"ryo@vda-lab.be\", role=\"aut\"), person(\"Evan\", \"Biederstedt\", email=\"evan.biederstedt@gmail.com\", role=c(\"cre\", \"aut\")))",
  "Description": "The gap encodes the distance between clusters and improves\ninterpretation of cluster heatmaps. The gaps can be of the same\ndistance based on a height threshold to cut the dendrogram.\nAnother option is to vary the size of gaps based on the\ndistance between clusters.",
  "License": "GPL-2 | GPL-3",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/evanbiederstedt/gapmap",
  "BugReports": "https://github.com/evanbiederstedt/gapmap/issues",
  "RoxygenNote": "7.2.3",
  "NeedsCompilation": "no",
  "Maintainer": "Evan Biederstedt <evan.biederstedt@gmail.com>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://evanbiederstedt.r-universe.dev",
  "Date/Publication": "2024-01-22 17:42:04 UTC",
  "RemoteUrl": "https://github.com/evanbiederstedt/gapmap",
  "RemoteRef": "HEAD",
  "RemoteSha": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
  "Packaged": {
    "Date": "2026-05-15 09:16:31 UTC",
    "User": "root"
  },
  "Author": "Ryo Sakai [aut],\nEvan Biederstedt [cre, aut]",
  "MD5sum": "fb3b108b042984d7edda537105a8bda7",
  "_user": "evanbiederstedt",
  "_type": "src",
  "_file": "gapmap_1.0.0.tar.gz",
  "_fileid": "07dcf95307401c54d4367712ed80c1d75b4e690580c4346455ba5e7de6af0915",
  "_filesize": 3908150,
  "_sha256": "07dcf95307401c54d4367712ed80c1d75b4e690580c4346455ba5e7de6af0915",
  "_created": "2026-05-15T09:16:31.000Z",
  "_published": "2026-06-02T19:29:39.476Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79154820344,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013890386"
    },
    {
      "job": 79154820274,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013892431"
    },
    {
      "job": 79154820398,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013885276"
    },
    {
      "job": 79154820086,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013888492"
    },
    {
      "job": 79154819949,
      "time": 224,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013851200"
    },
    {
      "job": 79154819515,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367783759"
    },
    {
      "job": 79154820132,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013880673"
    },
    {
      "job": 79154820615,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013877960"
    },
    {
      "job": 79154820828,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013882130"
    }
  ],
  "_buildurl": "https://github.com/r-universe/evanbiederstedt/actions/runs/25909955672",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/evanbiederstedt/gapmap",
  "_commit": {
    "id": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
    "author": "evanbiederstedt <evan.biederstedt@gmail.com>",
    "committer": "evanbiederstedt <evan.biederstedt@gmail.com>",
    "message": "update v1.0.0\n",
    "time": 1705945324
  },
  "_maintainer": {
    "name": "Evan Biederstedt",
    "email": "evan.biederstedt@gmail.com",
    "login": "evanbiederstedt",
    "uuid": 6968193
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "reshape2",
      "role": "Depends"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "dendsort",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "evanbiederstedt",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "evanbiederstedt",
      "count": 14,
      "uuid": 6968193
    }
  ],
  "_userbio": {
    "uuid": 6968193,
    "type": "user",
    "name": "evanbiederstedt"
  },
  "_downloads": {
    "count": 592,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gapmap"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/evanbiederstedt/gapmap",
  "_searchresults": 22,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gapmap.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/evanbiederstedt/gapmap",
  "_realowner": "evanbiederstedt",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2014-09-11"
    },
    {
      "version": "0.0.2",
      "date": "2014-09-29"
    },
    {
      "version": "0.0.3",
      "date": "2015-11-16"
    },
    {
      "version": "0.0.4",
      "date": "2015-12-14"
    },
    {
      "version": "0.1.0",
      "date": "2021-04-19"
    },
    {
      "version": "1.0.0",
      "date": "2024-01-22"
    }
  ],
  "_exports": [
    "as.gapdata",
    "assign_branch_positions",
    "assign_positions",
    "calculate_gap",
    "count_gap",
    "extract_list",
    "format_number",
    "gap_data",
    "gap_dendrogram",
    "gap_heatmap",
    "gap_label",
    "gapmap",
    "get_most_left_leaf",
    "get_most_right_leaf",
    "get_segment_df",
    "is.gapdata",
    "map",
    "map.exp",
    "set_most_right_leaf",
    "sum_distance"
  ],
  "_datasets": [
    {
      "name": "sample_tcga",
      "title": "Sample data matrix from the integrated pathway analysis of gastric cancer from the Cancer Genome Atlas (TCGA) study.",
      "object": "sample_tcga",
      "file": "sample_tcga.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "percent_lymphocyte_infiltration",
        "tumor_nuclei_percent",
        "EBV.pos",
        "East.Asia",
        "percent_monocyte_infiltration",
        "year_of_initial_pathologic_diagnosis",
        "age_at_initial_pathologic_diagnosis",
        "RHOA.34_42",
        "RHOA.57_62",
        "MutSig2_rateTot_perMb",
        "MutSig_rateDbSnp_perMb",
        "Nonsilent.Mutation.Rate",
        "Silent.Mutation.Rate",
        "Total.Mutation.Rate",
        "absolute_extract_ploidy",
        "absolute_extract_purity",
        "days_to_birth",
        "percent_necrosis",
        "Number.of.Structural.Rearrangments.RNAseq",
        "MLH1_epigenetically_silenced",
        "diffuse_meth_subtype",
        "GEJUNC_CARDIA_EPC",
        "structural_rearrangement_count_WGS",
        "percent_neutrophil_infiltration",
        "M.EPC",
        "APC.code_potential_somatic",
        "ARID1A.code_potential_somatic",
        "BCOR.code_potential_somatic",
        "CDH1.code_potential_somatic",
        "CYP7B1.code_potential_somatic",
        "ERBB3.code_potential_somatic",
        "FMN2.code_potential_somatic",
        "GLI3.code_potential_somatic",
        "KCNMB2.code_potential_somatic",
        "KIAA2022.code_potential_somatic",
        "percent_normal_cells",
        "MUC17.code_potential_somatic",
        "NRK.code_potential_somatic",
        "PIK3CA.code_potential_somatic",
        "PTEN.code_potential_somatic",
        "RHOA.code_potential_somatic",
        "RNF43.code_potential_somatic",
        "SLCO1B3.code_potential_somatic",
        "TLR4.code_potential_somatic",
        "TP53.code_potential_somatic",
        "PIK3CA.E545K",
        "PIK3CA.H1047R",
        "MSI.H",
        "MSI.L",
        "MSS",
        "Canada",
        "Germany",
        "South.Korea",
        "Poland",
        "Russia",
        "Ukraine",
        "UNITED_STATES__country",
        "Vietnam",
        "FEMALE__gender",
        "MALE__gender",
        "ANTRUM__MAJOR_ANATOMIC_SITE_EPC",
        "FUNDUS_BODY__MAJOR_ANATOMIC_SITE_EPC",
        "GEJ_CARDIA__MAJOR_ANATOMIC_SITE_EPC",
        "Antrum.vs..all.other.anatomic.sites",
        "Antrum.pyloris.vs..all.other.anatomic.sites",
        "Body.vs..all.other.anatomic.sites",
        "Cardia.vs..all.other.anatomic.sites",
        "Fundus.vs..all.other.anatomic.sites",
        "Fundus.body.vs..all.other.anatomic.sites",
        "GE.junction.vs..all.other.anatomic.sites",
        "pathologic.M0.EPC",
        "M1__pathologic_M_epc",
        "N0__pathologic_N_epc",
        "N1__pathologic_N_epc",
        "N2__pathologic_N_epc",
        "N3__pathologic_N_epc",
        "GASTRIC.CIMP",
        "GASTRIC.EBV.CIMP",
        "Non.CIMP.DNA.Methylation",
        "EBV.KB.Subgroup",
        "MSI.H.KB.Subgroup",
        "SCNA.High.KB.Subgroup",
        "SCNA.Low.KB.Subgroup",
        "MicroRNA.Cluster.1",
        "MicroRNA.Cluster.2",
        "MicroRNA.Cluster.3",
        "MicroRNA.Cluster.4",
        "MicroRNA.Cluster.5",
        "TRUE__MLH1_methylation",
        "HIGH__SCNA_group",
        "LOW__SCNA_group",
        "Hypermutated",
        "Standard.Mutation.Rate",
        "Diffuse",
        "INTESTINAL__pathology_lauren",
        "Mixed.lauren",
        "EARLY__STAGE_EARLY_LATE",
        "LATE__STAGE_EARLY_LATE",
        "Stage.I.vs..all.other.stages",
        "Stage.II.vs..all.other.stages",
        "Stage.III.vs..all.other.stages",
        "Stage.IV.vs..all.other.stages",
        "ASIAN__race",
        "RPPA.Cluster.1",
        "RPPA.Cluster.2",
        "RPPA.Cluster.3",
        "Gene.Expression.Cluster.1",
        "Gene.Expression.Cluster.2",
        "Gene.Expression.Cluster.3",
        "Gene.Expression.Cluster.4",
        "Mucinous.vs..other.intestinal",
        "Papillary.vs..other.intestinal",
        "Tubular.vs..other.intestinal",
        "percent_stromal_cells",
        "percent_tumor_cells",
        "percent_tumor_nuclei",
        "tumor_necrosis_percent"
      ],
      "rows": 215,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "gapmap-package",
      "title": "Draws gapped heatmap (gapmap) and gapped dendrograms using ggplot2 in [R].",
      "topics": [
        "gapmap-package"
      ]
    },
    {
      "page": "gap_data",
      "title": "Generate a gapdata class object from a dendrogram object",
      "topics": [
        "gap_data"
      ]
    },
    {
      "page": "gap_dendrogram",
      "title": "Function to draw a gapped dendrogram",
      "topics": [
        "gap_dendrogram"
      ]
    },
    {
      "page": "gap_heatmap",
      "title": "Function to draw a gapped heatmap",
      "topics": [
        "gap_heatmap"
      ]
    },
    {
      "page": "gap_label",
      "title": "Function to draw a gapped labels",
      "topics": [
        "gap_label"
      ]
    },
    {
      "page": "gapmap",
      "title": "Function to draw a gapped cluster heatmap",
      "topics": [
        "gapmap"
      ]
    },
    {
      "page": "sample_tcga",
      "title": "Sample data matrix from the integrated pathway analysis of gastric cancer from the Cancer Genome Atlas (TCGA) study.",
      "topics": [
        "sample_tcga"
      ]
    }
  ],
  "_readme": "https://github.com/evanbiederstedt/gapmap/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "plyr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "simple_example.Rmd",
      "filename": "simple_example.html",
      "title": "An introduction to the gapmap package",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2021-04-18 05:01:07",
      "modified": "2021-04-18 15:22:34",
      "commits": 3
    },
    {
      "source": "tcga_example.Rmd",
      "filename": "tcga_example.html",
      "title": "Example with a TCGA dataset",
      "engine": "knitr::rmarkdown",
      "headings": [
        "dendsort",
        "dendrograms"
      ],
      "created": "2021-04-18 05:01:07",
      "modified": "2021-04-18 15:22:34",
      "commits": 3
    }
  ],
  "_score": 4.643452676486188,
  "_indexed": true,
  "_nocasepkg": "gapmap",
  "_universes": [
    "evanbiederstedt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-15T09:18:41.000Z",
      "distro": "noble",
      "commit": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
      "fileid": "d8925eb257d2a6fa3a68866b39c6a60fbc1fb5ab7b707888e31941d0b1f8fffc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/evanbiederstedt/actions/runs/25909955672"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-15T09:18:48.000Z",
      "distro": "noble",
      "commit": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
      "fileid": "d44186a7ac4170187ff3ab882cc55a0a8a9bd6ea5ecf35ff59e894b5e4177257",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/evanbiederstedt/actions/runs/25909955672"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-15T09:18:28.000Z",
      "commit": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
      "fileid": "7f314fdd1d245f6382c0b63ca4c937db2c3c1e1407df38fb6ff18ee64ade59fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/evanbiederstedt/actions/runs/25909955672"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-15T09:18:33.000Z",
      "commit": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
      "fileid": "519b4cb0ab09e2f7f6d99933dc7e6de8cde27755d451171662754d92e890a071",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/evanbiederstedt/actions/runs/25909955672"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-15T09:18:00.000Z",
      "commit": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
      "fileid": "c7b47e3687b583799aacd1124e6f36aecf87f3772bccf296045e7085fb4f6902",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/evanbiederstedt/actions/runs/25909955672"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-15T09:17:51.000Z",
      "commit": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
      "fileid": "0f0e3b64bd5051b75407b0b97a861b85bfdf76977906a049204cb9ec2d849c18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/evanbiederstedt/actions/runs/25909955672"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-15T09:17:59.000Z",
      "commit": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
      "fileid": "0e627a6c2e409c45eea6a5462291f703df5ed6b8422cb7d2851daa4289f574b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/evanbiederstedt/actions/runs/25909955672"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T19:29:21.000Z",
      "commit": "e5664e487abd0032b4b5533cacb4cc18317b4eff",
      "fileid": "df076a95bca66e8e206b70ae50a89e3155a492ba8e652341b70fd82f30a9ea4f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/evanbiederstedt/actions/runs/25909955672"
    }
  ]
}