Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/maartenpaul/DBD_tracking
08 February 2026, 18:47:12 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/development
    • refs/heads/master
    • 86c8b872964508a635ba1a9824a4798ffabbd10f
    No releases to show
  • ee95f07
  • /
  • R
  • /
  • Get_mask_area.R
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:7cc5ba71f81253b647f86de59e880dd3b7ebe95d
origin badgedirectory badge
swh:1:dir:556ae2bc64148ce20ea1932926caefc179fe614c
origin badgerevision badge
swh:1:rev:86c8b872964508a635ba1a9824a4798ffabbd10f
origin badgesnapshot badge
swh:1:snp:f14cfe52ad9e74434b7288f4e59ba10f11fe3d0f

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 86c8b872964508a635ba1a9824a4798ffabbd10f authored by Maarten Paul on 08 April 2018, 19:13:51 UTC
merge dataset script updated
Tip revision: 86c8b87
Get_mask_area.R
directory <- "D:/Stack/Genetics/171024 PALB2-Halo tracking/"

condition_list <- list.dirs(directory,full.names = F,recursive = F)
#condition_list <- condition_list[c(2,3)]
#condition_list <- "SNAP-SiR"
area_all <- list()
#load data
for (i in 1:length(condition_list)){
  segments <- list()
  dir <- file.path(directory,condition_list[i])
  filelist <- list.dirs(dir,full.names = T,recursive = F)
  #filelist <- filelist[-grep("skip",x = filelist)]
  total <- length(filelist)
  # create progress bar
  area <- vector(length=length(total))
  for(j in 1:total){
    #  Sys.sleep(0.1)
  rois <- read.csv(file.path(filelist[j],"Mask_results.txt"),sep = "\t",header = T)
  area[j] <- rois$Area[1]
  }
  area_all[[condition_list[i]]] <- area

}

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API