Commit 86ad3d09 authored by Antonio Politi's avatar Antonio Politi
Browse files

matlab files moved to FCSAnalyze

parent c48b21d8
# generate a txt file for the images that will be analysed with the NPC RIM pipeline
library(tools)
# specify bg folder ----
setwd('Y:\\Antonio_t2_3\\170412_NUPs\\LSM880\\Calibration\\POI')
wdir <- choose.dir(default = getwd(), "Choose folder containing images")
setwd(wdir)
# find tif files in wdir ----
fnames <- list.files(path = '.', pattern = "*.lsm")
#cell anaphase nucleus1 nucleus2 dmin omitframe maxf siRNA
df <- data.frame(cell = tools::file_path_sans_ext(fnames), anaphase = 1, nucleus1 = 1,
nucleus2 = 0, dmin = 0.5, omitframe = 0, maxf=1, siRNA = 1)
write.table(file = '../BGComp/bg/anaphase.txt', row.names = FALSE, x = df, sep = '\t', quote = FALSE)
# remove bg files
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment