{
  "_id": "6a16cadfacfb0bcc41d898b8",
  "Package": "swaRmverse",
  "Type": "Package",
  "Title": "Swarm Space Creation",
  "Version": "0.1.1",
  "Date": "2024-10-10",
  "Authors@R": "c(\nperson(\"Marina\", \"Papadopoulou\", , \"m.papadopoulou.rug@gmail.com\", role =\nc(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-6478-8365\")),\nperson(\"Simon\", \"Garnier\", email = \"garnier@njit.edu\", role = c(\"ctb\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3886-3974\"))\n)",
  "Maintainer": "Marina Papadopoulou <m.papadopoulou.rug@gmail.com>",
  "Description": "Provides a pipeline for the comparative analysis of\ncollective movement data (e.g. fish schools, bird flocks,\nbaboon troops) by processing 2-dimensional positional data\n(x,y,t) from GPS trackers or computer vision tracking systems,\ndiscretizing events of collective motion, calculating a set of\nestablished metrics that characterize each event, and placing\nthe events in a multi-dimensional swarm space constructed from\nthese metrics. The swarm space concept, the metrics and data\nsets included are described in: Papadopoulou Marina, Furtbauer\nInes, O'Bryan Lisa R., Garnier Simon, Georgopoulou Dimitra G.,\nBracken Anna M., Christensen Charlotte and King Andrew J.\n(2023) <doi:10.1098/rstb.2022.0068>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://marinapapa.github.io/swaRmverse/,\nhttps://github.com/marinapapa/swaRmverse",
  "BugReports": "https://github.com/marinapapa/swaRmverse/issues",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://marinapapa.r-universe.dev",
  "Date/Publication": "2024-10-10 13:15:02 UTC",
  "RemoteUrl": "https://github.com/marinapapa/swarmverse",
  "RemoteRef": "HEAD",
  "RemoteSha": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 10:39:47 UTC",
    "User": "root"
  },
  "Author": "Marina Papadopoulou [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6478-8365>),\nSimon Garnier [ctb, cph] (ORCID:\n<https://orcid.org/0000-0002-3886-3974>)",
  "MD5sum": "dece18e770883963578d9bfe8b927c22",
  "_user": "marinapapa",
  "_type": "src",
  "_file": "swaRmverse_0.1.1.tar.gz",
  "_fileid": "ecb2b79d64961ce77c30251fd83a3596fb5c7d9fae0a46ee266b34e7c00a5425",
  "_filesize": 562775,
  "_sha256": "ecb2b79d64961ce77c30251fd83a3596fb5c7d9fae0a46ee266b34e7c00a5425",
  "_created": "2026-05-27T10:39:47.000Z",
  "_published": "2026-05-27T10:43:43.630Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78059202463,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7238303317"
    },
    {
      "job": 78059202521,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238302303"
    },
    {
      "job": 78059202426,
      "time": 198,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7238310112"
    },
    {
      "job": 78059202665,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238291689"
    },
    {
      "job": 78058588059,
      "time": 242,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238258240"
    },
    {
      "job": 78059202692,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238298226"
    },
    {
      "job": 78059202570,
      "time": 110,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7238293542"
    },
    {
      "job": 78059202518,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7238285044"
    },
    {
      "job": 78059202471,
      "time": 77,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238283717"
    }
  ],
  "_buildurl": "https://github.com/r-universe/marinapapa/actions/runs/26506034636",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/marinapapa/swarmverse",
  "_commit": {
    "id": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
    "author": "marinapapa <marina.vp@outlook.com>",
    "committer": "marinapapa <marina.vp@outlook.com>",
    "message": "link fix\n",
    "time": 1728566102
  },
  "_maintainer": {
    "name": "Marina Papadopoulou",
    "email": "m.papadopoulou.rug@gmail.com",
    "orcid": "0000-0002-6478-8365"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "Rtsne",
      "role": "Imports"
    },
    {
      "package": "trackdf",
      "role": "Imports"
    },
    {
      "package": "swaRm",
      "role": "Imports"
    },
    {
      "package": "geosphere",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "marinapapa",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "marinapapa",
      "count": 73,
      "uuid": 29118986
    },
    {
      "user": "sjmgarnier",
      "count": 2,
      "uuid": 371449
    }
  ],
  "_userbio": {
    "uuid": 29118986,
    "type": "user",
    "name": "Marina Papadopoulou",
    "description": "Computational biologist | Postdoc on collective animal behaviour | Agent-based models of self-organization in social systems \r\n#makeswarmsnotwar"
  },
  "_downloads": {
    "count": 142,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/swaRmverse"
  },
  "_devurl": "https://github.com/marinapapa/swarmverse",
  "_pkgdown": "https://marinapapa.github.io/swaRmverse/",
  "_searchresults": 15,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/swaRmverse.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/marinapapa/swarmverse",
  "_realowner": "marinapapa",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-03-26"
    },
    {
      "version": "0.1.1",
      "date": "2024-10-10"
    }
  ],
  "_exports": [
    "add_rel_pos_coords",
    "add_set_vels",
    "add_velocities",
    "calc_dur_per_event",
    "col_motion_metrics",
    "col_motion_metrics_from_raw",
    "define_events",
    "event_metrics",
    "events_dur",
    "events_n",
    "events_summary",
    "expand_pca_swarm_space",
    "frontness",
    "get_event_ids",
    "group_metrics",
    "group_metrics_per_set",
    "group_shape",
    "moving_average",
    "nn_metrics",
    "nnba",
    "normalize_data",
    "pairwise_metrics",
    "pick_threshold",
    "set_data_format",
    "swarm_space"
  ],
  "_datasets": [
    {
      "name": "multi_species_metrics",
      "title": "Multi-Species Collective Motion Metrics",
      "object": "multi_species_metrics",
      "class": [
        "data.frame"
      ],
      "fields": [
        "mean_mean_nnd",
        "mean_sd_nnd",
        "sd_mean_nnd",
        "mean_pol",
        "sd_pol",
        "cv_speed",
        "mean_sd_front",
        "mean_mean_bangl",
        "mean_shape",
        "sd_shape",
        "species",
        "event"
      ],
      "rows": 257,
      "table": true,
      "tojson": true
    },
    {
      "name": "multi_species_pca",
      "title": "Multi-Species PCA",
      "object": "multi_species_pca",
      "class": [
        "prcomp"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "multi_species_pca_data",
      "title": "Multi-Species PCA Data",
      "object": "multi_species_pca_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "species",
        "PC1",
        "PC2",
        "PC3"
      ],
      "rows": 257,
      "table": true,
      "tojson": true
    },
    {
      "name": "new_species_metrics",
      "title": "The Collective Motion Metrics of a New Species",
      "object": "new_species_metrics",
      "class": [
        "data.frame"
      ],
      "fields": [
        "event",
        "N",
        "set",
        "start_time",
        "mean_mean_nnd",
        "mean_sd_nnd",
        "sd_mean_nnd",
        "mean_pol",
        "sd_pol",
        "cv_speed",
        "mean_sd_front",
        "mean_mean_bangl",
        "mean_shape",
        "sd_shape",
        "event_dur",
        "species"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_rel_pos_coords",
      "title": "Relative Position Coordinates",
      "topics": [
        "add_rel_pos_coords"
      ]
    },
    {
      "page": "add_set_vels",
      "title": "Add Velocity Timeseries",
      "topics": [
        "add_set_vels"
      ]
    },
    {
      "page": "add_velocities",
      "title": "Add Velocity Timeseries Across Sets",
      "topics": [
        "add_velocities"
      ]
    },
    {
      "page": "calc_dur_per_event",
      "title": "Duration of Each Event",
      "topics": [
        "calc_dur_per_event"
      ]
    },
    {
      "page": "col_motion_metrics",
      "title": "Collective Motion Metrics",
      "topics": [
        "col_motion_metrics"
      ]
    },
    {
      "page": "col_motion_metrics_from_raw",
      "title": "Collective Motion Metrics from Raw Data",
      "topics": [
        "col_motion_metrics_from_raw"
      ]
    },
    {
      "page": "define_events",
      "title": "Define Events of Collective Motion",
      "topics": [
        "define_events"
      ]
    },
    {
      "page": "event_metrics",
      "title": "Metrics of Collective Motion",
      "topics": [
        "event_metrics"
      ]
    },
    {
      "page": "events_dur",
      "title": "Total Duration of All Events",
      "topics": [
        "events_dur"
      ]
    },
    {
      "page": "events_n",
      "title": "Number of Events",
      "topics": [
        "events_n"
      ]
    },
    {
      "page": "events_summary",
      "title": "Events Summary",
      "topics": [
        "events_summary"
      ]
    },
    {
      "page": "expand_pca_swarm_space",
      "title": "Expand Existing Swarm Space (PCA)",
      "topics": [
        "expand_pca_swarm_space"
      ]
    },
    {
      "page": "frontness",
      "title": "Frontness",
      "topics": [
        "frontness"
      ]
    },
    {
      "page": "get_event_ids",
      "title": "Event Indexes",
      "topics": [
        "get_event_ids"
      ]
    },
    {
      "page": "group_metrics",
      "title": "Group Metrics of Collective Motion",
      "topics": [
        "group_metrics"
      ]
    },
    {
      "page": "group_metrics_per_set",
      "title": "Group Metrics of Collective Motion in a Dataset",
      "topics": [
        "group_metrics_per_set"
      ]
    },
    {
      "page": "group_shape",
      "title": "Group Shape Based on a OOBB",
      "topics": [
        "group_shape"
      ]
    },
    {
      "page": "moving_average",
      "title": "Moving Average",
      "topics": [
        "moving_average"
      ]
    },
    {
      "page": "multi_species_metrics",
      "title": "Multi-Species Collective Motion Metrics",
      "topics": [
        "multi_species_metrics"
      ]
    },
    {
      "page": "multi_species_pca",
      "title": "Multi-Species PCA",
      "topics": [
        "multi_species_pca"
      ]
    },
    {
      "page": "multi_species_pca_data",
      "title": "Multi-Species PCA Data",
      "topics": [
        "multi_species_pca_data"
      ]
    },
    {
      "page": "new_species_metrics",
      "title": "The Collective Motion Metrics of a New Species",
      "topics": [
        "new_species_metrics"
      ]
    },
    {
      "page": "nn_metrics",
      "title": "Nearest Neighbour Metrics",
      "topics": [
        "nn_metrics"
      ]
    },
    {
      "page": "nnba",
      "title": "Bearing Angle to Nearest Neighbor",
      "topics": [
        "nnba"
      ]
    },
    {
      "page": "normalize_data",
      "title": "Normalize Data",
      "topics": [
        "normalize_data"
      ]
    },
    {
      "page": "pairwise_metrics",
      "title": "Pairwise Metrics of Collective Motion in a Dataset",
      "topics": [
        "pairwise_metrics"
      ]
    },
    {
      "page": "pick_threshold",
      "title": "Pick a Threshold for the Events' Definition",
      "topics": [
        "pick_threshold"
      ]
    },
    {
      "page": "set_data_format",
      "title": "Data Formatting",
      "topics": [
        "set_data_format"
      ]
    },
    {
      "page": "swarm_space",
      "title": "Create a Swarm Space",
      "topics": [
        "swarm_space"
      ]
    },
    {
      "page": "swaRmverse",
      "title": "swaRmverse: Swarm Space Creation",
      "topics": [
        "swaRmverse-package",
        "swaRmverse"
      ]
    }
  ],
  "_pkglogo": "https://github.com/marinapapa/swarmverse/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/marinapapa/swarmverse/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cpp11",
    "data.table",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "geosphere",
    "glue",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "pbapply",
    "pillar",
    "pkgconfig",
    "proxy",
    "R6",
    "Rcpp",
    "rlang",
    "Rtsne",
    "s2",
    "sf",
    "sp",
    "splancs",
    "swaRm",
    "tibble",
    "tidyselect",
    "timechange",
    "trackdf",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "step1_data_preparation.Rmd",
      "filename": "step1_data_preparation.html",
      "title": "1 - Data Preparation",
      "author": "Marina Papadopoulou",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1.1 Input data - trackdf",
        "1.2 Transform data",
        "1.3 Multi-species or multi-context data"
      ],
      "created": "2022-12-29 20:26:45",
      "modified": "2024-03-12 10:14:08",
      "commits": 12
    },
    {
      "source": "step2_data_analysis.Rmd",
      "filename": "step2_data_analysis.html",
      "title": "2 - Data Analysis",
      "author": "Marina Papadopoulou",
      "engine": "knitr::rmarkdown",
      "headings": [
        "2.1 Velocity estimations",
        "2.2 Group characteristics",
        "2.3 Pairwise measurements",
        "2.4 Metrics of collective motion"
      ],
      "created": "2023-03-21 15:14:07",
      "modified": "2024-10-10 11:46:30",
      "commits": 13
    },
    {
      "source": "step3_swarm_space.Rmd",
      "filename": "step3_swarm_space.html",
      "title": "3 - The Swarm-Verse",
      "author": "Marina Papadopoulou",
      "engine": "knitr::rmarkdown",
      "headings": [
        "3.1 Load data",
        "3.2 Build swarm space",
        "3.3 Expand existing swarm space",
        "3.4 Your own swarm space"
      ],
      "created": "2023-03-21 15:14:07",
      "modified": "2024-02-27 13:46:20",
      "commits": 9
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "swarmverse",
  "_universes": [
    "marinapapa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-27T10:42:15.000Z",
      "distro": "noble",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "2b47fbb98d6fd75956282db56263bbfa339631b6e4cefe8f063e3b72a12e82e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/26506034636"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-27T10:42:13.000Z",
      "distro": "noble",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "a23b64720952dfd0276829f103df559683d766cb53b6f8b8a6b2e5dbd2600596",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/26506034636"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-27T10:42:38.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "c50e02b4f4e757bea29446f4aaae2e2e38aced5d2613b8b8bb42b58134a7abb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/26506034636"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-27T10:41:42.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "10f752ac8e5135192ebac357f16d50b2635346d61ae9702e3a558be1ed5cefa1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/26506034636"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-27T10:42:15.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "0f703a99d31e1534bda98e1b7eed043673c570da8f4ceeb34aa8ed05a7f8e6a5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/26506034636"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-27T10:41:31.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "a3951a08bdcc5ee521239c1d23df99d04d79e62e1edd83a014abc780f1b6f01b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/26506034636"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-27T10:41:12.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "23041c5270d64a2725eb0fe36b2341bc447fd053855b33b42ba4876033ef2985",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/26506034636"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-27T10:41:08.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "96f1aa1c50493c9d7255032d2cbdb2ccf51aa85b4809d8796774c7c9e85183ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/26506034636"
    }
  ]
}