{
  "_id": "6ad9fe1add3792e77323869e",
  "Package": "STDistance",
  "Title": "Spatial Transcriptomics Distance Calculation and Visualization",
  "Version": "0.6.8",
  "Authors@R": "c(person(given = \"Zixiang\", family = \"Wang\",\nemail = \"wangzixiang@sdu.edu.cn\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-5252-9764\")),\nperson(given = \"Lei\", family = \"Yang\",\nemail = \"970214035yl@gmail.com\",\nrole = \"aut\"),\nperson(given = \"Zhaojian\", family = \"Liu\",\nemail = \"liujian9782@sdu.edu.cn\",\nrole = \"aut\"))",
  "Description": "Analysis of spatial relationships between cell types in\nspatial transcriptomics data. Spatial proximity is a critical\nfactor in cell-cell communication. The package calculates\nnearest neighbor distances between specified cell types and\nprovides visualization tools to explore spatial patterns.\nApplications include studying cell-cell interactions, immune\nmicroenvironment characterization, and spatial organization of\ntissues.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-22 11:59:01 UTC",
    "User": "root"
  },
  "Author": "Zixiang Wang [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5252-9764>), Lei Yang [aut],\nZhaojian Liu [aut]",
  "Maintainer": "Zixiang Wang <wangzixiang@sdu.edu.cn>",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://princewang2018.r-universe.dev",
  "Date/Publication": "2026-06-21 15:19:40 UTC",
  "RemoteUrl": "https://github.com/cran/STDistance",
  "RemoteRef": "HEAD",
  "RemoteSha": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
  "_user": "princewang2018",
  "_type": "src",
  "_file": "STDistance_0.6.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/236f061d5b833da26dc71d87459f03006d59161ac890e894fe6d63f96efc1892",
  "_filesize": 664791,
  "_sha256": "236f061d5b833da26dc71d87459f03006d59161ac890e894fe6d63f96efc1892",
  "_expires": "2027-01-30T12:14:16.000Z",
  "_created": "2026-10-22T11:59:01.000Z",
  "_published": "2026-10-22T12:14:18.022Z",
  "_upstream": "https://github.com/cran/STDistance",
  "_status": "success",
  "_maintainer": {
    "name": "Zixiang Wang",
    "email": "wangzixiang@sdu.edu.cn",
    "login": "princewang2018",
    "orcid": "0000-0001-5252-9764",
    "description": "I love server‘s fans making noise.",
    "uuid": 37299182
  },
  "_jobs": [
    {
      "job": 119810765412,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12423459358"
    },
    {
      "job": 119810765197,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12424690014"
    },
    {
      "job": 119810765297,
      "time": 143,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12423874718"
    },
    {
      "job": 119810765313,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12425145655"
    },
    {
      "job": 119808848280,
      "time": 268,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12424445511"
    },
    {
      "job": 119810765400,
      "time": 179,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12423349584"
    },
    {
      "job": 119810765343,
      "time": 95,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12424316163"
    },
    {
      "job": 119810765217,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12424052490"
    },
    {
      "job": 119810765335,
      "time": 91,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12423253782"
    }
  ],
  "_buildurl": "https://github.com/r-universe/princewang2018/actions/runs/39774132617",
  "_commit": {
    "id": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
    "author": "Zixiang Wang <wangzixiang@sdu.edu.cn>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.6.8\n",
    "time": 1782055180
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.6.8",
      "date": "2026-06-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "princewang2018",
      "count": 3,
      "uuid": 37299182
    }
  ],
  "_userbio": {
    "uuid": 37299182,
    "type": "user",
    "name": "Zixiang Wang",
    "followers": 4,
    "description": "I love server‘s fans making noise."
  },
  "_downloads": {
    "count": 313,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/STDistance"
  },
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/STDistance.html"
  ],
  "_realowner": "princewang2018",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.6.4",
      "date": "2025-06-18"
    },
    {
      "version": "0.6.6",
      "date": "2025-07-22"
    },
    {
      "version": "0.6.8",
      "date": "2026-06-21"
    }
  ],
  "_exports": [
    "calculate_correlations",
    "calculate_nearest_distances",
    "normalize_spatial",
    "plot_distance_boxplot",
    "plot_radial_distance",
    "visualize_spatial_gradient",
    "visualize_spatial_multinetwork",
    "visualize_spatial_network"
  ],
  "_datasets": [
    {
      "name": "distance_results",
      "title": "distance_results",
      "object": "distance_results",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Newbarcode",
        "Epithelial_cells_A",
        "Epithelial_cells_B",
        "Epithelial_cells_C",
        "Epithelial_cells_D"
      ],
      "rows": 18,
      "table": true,
      "tojson": true
    },
    {
      "name": "metadata",
      "title": "Metadata",
      "object": "metadata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "orig.ident",
        "nCount_Spatial",
        "nFeature_Spatial",
        "nCount_SCT",
        "nFeature_SCT",
        "integrated_snn_res.0.8",
        "seurat_clusters",
        "celltype_ABCDepi",
        "gen2_SPLIz_numeric"
      ],
      "rows": 293,
      "table": true,
      "tojson": true
    },
    {
      "name": "posi",
      "title": "posi",
      "object": "posi",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Newbarcode",
        "barcode",
        "in_tissue",
        "array_row",
        "array_col",
        "pxl_row_in_fullres",
        "pxl_col_in_fullres",
        "Sample",
        "Sampleid",
        "orig.ident",
        "nCount_Spatial",
        "nFeature_Spatial",
        "nCount_SCT",
        "nFeature_SCT",
        "integrated_snn_res.0.8",
        "seurat_clusters",
        "celltype_ABCDepi",
        "gen2_SPLIz_numeric"
      ],
      "rows": 293,
      "table": true,
      "tojson": true
    },
    {
      "name": "tissue_posi",
      "title": "tissue_posi",
      "object": "tissue_posi",
      "class": [
        "data.frame"
      ],
      "fields": [
        "barcode",
        "in_tissue",
        "array_row",
        "array_col",
        "pxl_row_in_fullres",
        "pxl_col_in_fullres",
        "Sample",
        "Sampleid",
        "Newbarcode"
      ],
      "rows": 9984,
      "table": true,
      "tojson": true
    },
    {
      "name": "tissue_posi_normalized",
      "title": "tissue_posi_normalized",
      "object": "tissue_posi_normalized",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "barcode",
        "in_tissue",
        "array_row",
        "array_col",
        "pxl_row_in_fullres",
        "pxl_col_in_fullres",
        "Sample",
        "Sampleid",
        "Newbarcode"
      ],
      "rows": 9984,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_correlations",
      "title": "Perform correlation analysis between spatial features and distance metrics with visualization",
      "topics": [
        "calculate_correlations"
      ]
    },
    {
      "page": "calculate_nearest_distances",
      "title": "Calculate nearest distances between cell types",
      "topics": [
        "calculate_nearest_distances"
      ]
    },
    {
      "page": "distance_results",
      "title": "distance_results",
      "topics": [
        "distance_results"
      ]
    },
    {
      "page": "metadata",
      "title": "Metadata",
      "topics": [
        "metadata"
      ]
    },
    {
      "page": "normalize_spatial",
      "title": "Normalize spatial coordinates",
      "topics": [
        "normalize_spatial"
      ]
    },
    {
      "page": "plot_distance_boxplot",
      "title": "Visualize Nearest Neighbor Distances with Boxplot and Mean ± SEM",
      "topics": [
        "plot_distance_boxplot"
      ]
    },
    {
      "page": "plot_radial_distance",
      "title": "Radial Distance Visualization with Collision Avoidance",
      "topics": [
        "plot_radial_distance"
      ]
    },
    {
      "page": "posi",
      "title": "posi",
      "topics": [
        "posi"
      ]
    },
    {
      "page": "tissue_posi",
      "title": "tissue_posi",
      "topics": [
        "tissue_posi"
      ]
    },
    {
      "page": "tissue_posi_normalized",
      "title": "tissue_posi_normalized",
      "topics": [
        "tissue_posi_normalized"
      ]
    },
    {
      "page": "visualize_spatial_gradient",
      "title": "Visualize spatial network with expression gradient",
      "topics": [
        "visualize_spatial_gradient"
      ]
    },
    {
      "page": "visualize_spatial_multinetwork",
      "title": "Visualize spatial relationships between multiple cell types",
      "topics": [
        "visualize_spatial_multinetwork"
      ]
    },
    {
      "page": "visualize_spatial_network",
      "title": "Visualize spatial relationships between cell types",
      "topics": [
        "visualize_spatial_network"
      ]
    }
  ],
  "_readme": "https://github.com/cran/STDistance/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "nnet",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "my-vignette.Rmd",
      "filename": "my-vignette.html",
      "title": "STDistance - Spatial Transcriptomics Distance Calculation and Visualization",
      "author": "Zixiang Wang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Description",
        "Installation",
        "Dependencies",
        "Input File Preparation",
        "Basic Workflow",
        "1. Load required packages and data",
        "2. Normalize spatial coordinates",
        "3. Merge spatial and metadata information",
        "4. Calculate nearest distances between cell types",
        "5. Compare distance among subgroups",
        "6. Create radial network visualization",
        "7. Spatial visualization of interactions",
        "8. Correlation analysis",
        "Applications",
        "Limitations",
        "Troubleshooting",
        "Citation",
        "Contact",
        "License"
      ],
      "created": "2025-06-18 13:04:06",
      "modified": "2026-06-21 15:19:40",
      "commits": 2
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "stdistance",
  "_universes": [
    "princewang2018"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.8",
      "date": "2026-10-22T12:01:08.000Z",
      "distro": "resolute",
      "commit": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
      "fileid": "https://r2.ropensci.org/7665791dd3199482a4a593c125130ac1960621490fa29c9296599204b1f9be14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/princewang2018/actions/runs/39774132617"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.8",
      "date": "2026-10-22T12:01:02.000Z",
      "distro": "resolute",
      "commit": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
      "fileid": "https://r2.ropensci.org/79ad1efbd6d92b72962c473d93cd128cb88415428b44151ff17e79d1fbb5354c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/princewang2018/actions/runs/39774132617"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.8",
      "date": "2026-10-22T12:10:16.000Z",
      "commit": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
      "fileid": "https://r2.ropensci.org/18a28b6cf76610808ce895a11a9530ebdd1de4eb66f198b9c54656d9e17ae7a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/princewang2018/actions/runs/39774132617"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.8",
      "date": "2026-10-22T12:13:16.000Z",
      "commit": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
      "fileid": "https://r2.ropensci.org/514c8cd8c52b4db6d064af7cd03028b06d6da8aa7914633c7ca149d057a37285",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/princewang2018/actions/runs/39774132617"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.8",
      "date": "2026-10-22T12:02:20.000Z",
      "commit": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
      "fileid": "https://r2.ropensci.org/0363ddf3805fc7869ff99e19af56d4488fa8aeab6a1e31c24561b6afff7c4b29",
      "status": "success",
      "buildurl": "https://github.com/r-universe/princewang2018/actions/runs/39774132617"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.8",
      "date": "2026-10-22T12:00:13.000Z",
      "commit": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
      "fileid": "https://r2.ropensci.org/a709fb74b4043672fff9626bc2a01118f1c3546744cffd83a978a07415c456b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/princewang2018/actions/runs/39774132617"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.8",
      "date": "2026-10-22T12:00:15.000Z",
      "commit": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
      "fileid": "https://r2.ropensci.org/2542738f80a593129dec24f8dc2c97a8dba7a6ebd75ab04ac38ad232b8dbfe75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/princewang2018/actions/runs/39774132617"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.8",
      "date": "2026-10-22T12:00:11.000Z",
      "commit": "013c1b89e7fcfcc527f3af016feb42dc4a4e4f87",
      "fileid": "https://r2.ropensci.org/cb926957f783e5dc0098b9711181541cfe5e6a12fab3b4d626454d821ab9b914",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/princewang2018/actions/runs/39774132617"
    }
  ]
}