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
11 January 2026, 14:05:28 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
Revision 86c8b872964508a635ba1a9824a4798ffabbd10f authored by Maarten Paul on 08 April 2018, 19:13:51 UTC, committed by Maarten Paul on 08 April 2018, 19:13:51 UTC
merge dataset script updated
1 parent e551a8b
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • refs/heads/development
    • refs/heads/master
    • 86c8b872964508a635ba1a9824a4798ffabbd10f
    No releases to show
  • ee95f07
  • /
  • scripts
  • /
  • merge_datasets.R
Raw File Download
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.

  • revision
  • directory
  • content
  • snapshot
origin badgerevision badge
swh:1:rev:86c8b872964508a635ba1a9824a4798ffabbd10f
origin badgedirectory badge
swh:1:dir:0635c20bcddf0ca7af79f20c815f48f95342fdcb
origin badgecontent badge
swh:1:cnt:fc5f98cb80a90c3e38c94678ef2e8df4a7eb7c15
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.

  • revision
  • directory
  • content
  • 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
merge_datasets.R
library(MSDtracking)

# BRCA2 HU ----------------------------------------------------------------
all_data <- list()
datasets <- c("D:/Stack/Genetics/180110 BRCA2 WTG10_dDdC_F4",
              "F://170711 BRCA2 dDBD CTD Halo HU",
              "F://170523 BRCA2 tracking HU")

all_data[["WT -HU"]] <- merge_dataset(datasets[c(2,3)],c("WT G10 noHU","WT E10 noHU","WT E10 noHU")[c(2,3)],con_name="WT -HU")

all_data[["WT +HU"]] <- merge_dataset(datasets[c(2,3)],c("WT G10 +HU 2h","WT E10 HU","WT E10 HU")[c(2,3)],con_name="WT +HU")

all_data[["dDBDdCTD -HU"]] <- merge_dataset(datasets[c(2,3)],c("dDBDdCTD F4 noHU","dDBDdCTD G9 noHU","dDBD G9 noHU")[c(2,3)],con_name="dDBDdCTD -HU")

all_data[["dDBDdCTD +HU"]] <- merge_dataset(datasets[c(2,3)],c("dDBDdCTD F4 +HU 2h","dDBDdCTD G9 HU","dDBD G9 HU")[c(2,3)],con_name="dDBDdCTD +HU")

all_data[["dDBD -HU"]] <- merge_dataset(datasets[2],c("dDBD+CTD A4 noHU"),con_name="dDBD -HU")

all_data[["dDBD +HU"]] <- merge_dataset(datasets[2],c("dDBD+CTD A4 HU"),con_name="dDBD +HU")

save(all_data,file = file.path("D:/Stack/Genetics/Tracking data merged/","BRCA2_HU_all_data.Rdata"))
msd_histogram(all_data,directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_HU",threshold=0.05)
msd_histogram(all_data[c(1,2)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_HU_WT",threshold=0.05)
msd_histogram(all_data[c(3,4)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_HU_dDBDdCTD",threshold=0.05)
msd_histogram(all_data[c(5,6)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_HU_dDBD",threshold=0.05)
msd_histogram(all_data[c(1,2,3,4)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_HU+dDBDdCTD_WT",threshold=0.05)

# BRCA2 MMC ---------------------------------------------------------------
all_data <- list()
datasets <- c("F://170517 BRCA2 tracking MMC",
              "F://170623 BRCA2 MMC tracking",
              "D:/Stack/Genetics/170809 tracking MMC WT_dDBD_+CTD")
all_data[["WT -MMC"]] <- merge_dataset(datasets[c(1,3)],c("WT E10 5nM noMMC","WT E10 noMMC2h","WT E10 noMMC")[c(1,3)],con_name="WT -MMC")

all_data[["WT +MMC"]] <- merge_dataset(datasets[c(1,3)],c("WT E10 5nM 1ug MMC","WT E10 MMC","WT E10 MMC")[c(1,3)],con_name="WT +MMC")

all_data[["dDBDdCTD -MMC"]] <- merge_dataset(datasets[c(1,3)],c("dDBDdCTD G9 5nM noMMC","dDBDcCTD G9 noMMC","dDBDdCTD G9 noMMC")[c(1,3)],con_name="dDBDdCTD -MMC")

all_data[["dDBDdCTD +MMC"]] <- merge_dataset(datasets[c(1,3)],c("dDBDdCTD G9 5nM 1ug MMC","dDBDdCTD G9 MMC","dDBDdCTD G9 MMC")[c(1,3)],con_name="dDBDdCTD +MMC")

all_data[["dDBD -MMC"]] <- merge_dataset("D:/Stack/Genetics/170809 tracking MMC WT_dDBD_+CTD",c("dDBD A4 noMMC"),con_name="dDBD -MMC")

all_data[["dDBD +MMC"]] <- merge_dataset("D:/Stack/Genetics/170809 tracking MMC WT_dDBD_+CTD",c("dDBD A4 MMC"),con_name="dDBD +MMC")

save(all_data,file = file.path("D:/Stack/Genetics/Tracking data merged/","BRCA2_MMC_all_data.Rdata"))
msd_histogram(all_data,directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="MMC",threshold=0.05)
msd_histogram(all_data[c(1,2)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_MMC_WT",threshold=0.05)
msd_histogram(all_data[c(3,4)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_MMC_dDBDdCTD",threshold=0.05)
msd_histogram(all_data[c(1,2,3,4)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_MMC_WT+dDBDdCTD",threshold=0.05)
msd_histogram(all_data[c(5,6)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_MMC_dDBD",threshold=0.05)

# BRCA2 IR ----------------------------------------------------------------

all_data <- list()
datasets <- c("D:/Stack/Genetics/170510 particle tracking BRCA2/","F://180117 BRCA2 dDdC IR tracking")
all_data[["WT -IR"]] <- merge_dataset(datasets,c("BRCA2 WT Halo E10 noIR","WT G10 -IR"),con_name="WT -IR")

all_data[["WT +IR"]] <- merge_dataset(datasets,c("BRCA2 WT Halo E10 5gyIR 2h","WT G10 +IR"),con_name="WT +IR")

all_data[["dDBDdCTD -IR"]] <- merge_dataset(datasets,c("BRCA2 dDBDdCTD Halo G9 noIR","dDBDdCTD F4 -IR"),con_name="dDBDdCTD -IR")

all_data[["dDBDdCTD +IR"]] <- merge_dataset(datasets,c("BRCA2 dDBDdCTD Halo G9 5gyIR 2h","dDBDdCTD F4 +IR"),con_name="dDBDdCTD +IR")

save(all_data,file = file.path("D:/Stack/Genetics/Tracking data merged/","BRCA2_IR_all_data.Rdata"))
msd_histogram(all_data,directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_IR",threshold=0.05)
msd_histogram(all_data[c(1,2)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_WT_IR",threshold=0.05)
msd_histogram(all_data[c(3,4)],directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="BRCA2_dDBDdCTD_IR",threshold=0.05)


# ##PALB2 HU --------------------------------------------------------------
all_data <- list()
stop("TO DO")
datasets <- c("F://170517 BRCA2 tracking MMC","F://170623 BRCA2 MMC tracking","D:/Stack/Genetics/170809 tracking MMC WT_dDBD_+CTD")
all_data[["WTnoMMC"]] <- merge_dataset(datasets,c("WT E10 5nM noMMC","WT E10 noMMC2h","WT E10 noMMC"),con_name="WT -MMC")

all_data[["WTMMC"]] <- merge_dataset(datasets,c("WT E10 5nM 1ug MMC","WT E10 MMC","WT E10 MMC"),con_name="WT +MMC")


# PALB2 MMC ---------------------------------------------------------------
all_data <- list()
datasets <- c("D:/Stack/Genetics/171024 PALB2-Halo tracking")
all_data[["PALB2 -MMC"]] <- merge_dataset(datasets,c("PALB2 F6 mock"),con_name="PALB2 -MMC")

all_data[["PALB2 +MMC"]] <- merge_dataset(datasets,c("PALB2 F6 MMC 2h"),con_name="PALB2 +MMC")

msd_histogram(all_data,directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="PALB2 MMC",threshold=0.05)


# Halo-BRCA2 WT d1-40 -----------------------------------------------------
all_data <- list()
datasets <- c("D:/Stack/Genetics/171130 d1-40 Halo-BRCA2","D:/Stack/Genetics/171130 N-BRCA2 Halo H8 HU")
all_data[["Halo-BRCA2"]] <- merge_dataset(datasets[2],c("-HU"),con_name="Halo-BRCA2")

all_data[["Halo-BRCA2 d1-40"]] <- merge_dataset(datasets[1],c("F9"),con_name="Halo-BRCA2 d1-40")

msd_histogram(all_data,directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="HaloTag BRCA2 d1-40",threshold=0.05)




##Old code
# directory <- "D:/Stack/Genetics/171208 N-BRCA2 Halo H8 MMC/"
# load(file.path(directory,"msd_fit_all.Rdata"))
# msd_fit_all$`-MMC`$cellID <- paste0('171208_',msd_fit_all$`-MMC`$cellID)
# msd_fit_all$`+MMC`$cellID <- paste0('171208_',msd_fit_all$`+MMC`$cellID)
#
# all$`-MMC` <- msd_fit_all$`-MMC`
# all$`+MMC` <- msd_fit_all$`+MMC`
#
# directory <- "D:/Stack/Genetics/171201 N-BRCA2 Halo H8 MMC/"
# load(file.path(directory,"msd_fit_all.Rdata"))
# msd_fit_all$`-MMC`$cellID <- paste0('171201_',msd_fit_all$`-MMC`$cellID)
# msd_fit_all$`+MMC`$cellID <- paste0('171201_',msd_fit_all$`+MMC`$cellID)
#
# all$`-MMC` <- rbind(all$`-MMC`,msd_fit_all$`-MMC`)
# all$`+MMC` <- rbind(all$`+MMC`,msd_fit_all$`+MMC`)
#
# directory <- "D:/Stack/Genetics/171117 N-BRCA2 MMC/"
# load(file.path(directory,"msd_fit_all.Rdata"))
# msd_fit_all$`H8 -MCC`$cellID <- paste0('171117_',msd_fit_all$`H8 -MCC`$cellID)
# msd_fit_all$`H8 +MCC`$cellID <- paste0('171117_',msd_fit_all$`H8 +MCC`$cellID)
#
# all$`-MMC` <- rbind(all$`-MMC`,msd_fit_all$`H8 -MCC`)
# all$`+MMC` <- rbind(all$`+MMC`,msd_fit_all$`H8 +MCC`)
#
# all$`-MMC`$condition <- "-MMC"
# all$`+MMC`$condition <- "+MMC"
# msd_fit_all <-all



# H2B/NLS ---------------------------------------------------------------------
all_data <- list()
#all_data[["H2B"]] <- merge_dataset(datasets[1],c("H2B"),con_name="H2B")
load("Y:/Maarten/Genetics/170809 tracking MMC WT_dDBD_+CTD/H2B/msd_fit.Rdata")
all_data[["H2B"]] <- ldply(tracks)
all_data[["H2B"]]$condition <- "H2B"

load("Y:/Maarten/Genetics/170512 BRCA2 slow tracking/Halo-NLS/30 ms/msd_fit.Rdata")
all_data[["NLS"]] <- ldply(tracks)
all_data[["NLS"]]$condition <- "NLS"
msd_histogram(all_data,directory = file.path("D:/Stack/Genetics/Tracking data merged/"),name="H2B-NLS",threshold=0.05)
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

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