Skip to content

Instantly share code, notes, and snippets.

View vallurumk's full-sized avatar
👀

Manoj Kumar Valluru vallurumk

👀
  • University of Sheffield
  • Sheffield, UK
  • X @mkvalluru
View GitHub Profile
@imagejan
imagejan / Run_TrackMate_Headless.groovy
Created September 19, 2017 07:39
Groovy script to start TrackMate without the UI wizard
#@ ImagePlus imp
#@ File (style = "directory", label = "Output folder") outputFolder
#@ String (label = "Output file name") filename
#@ double (label = "Spot radius", stepSize=0.1) radius
#@ double (label = "Quality threshold") threshold
#@ int (label = "Max frame gap") frameGap
#@ double (label = "Linking max distance") linkingMax
#@ double (label = "Gap-closing max distance") closingMax
import fiji.plugin.trackmate.Model
@rcatlord
rcatlord / script.R
Created February 20, 2018 16:47
Let's Make a Map in R - Medium post (20 February 2018)
## Let’s make a map in R ##
# Setup ---------------------------
install.packages("sf", "tidyverse", "classInt", "viridis")
library(sf) ; library(tidyverse) ; library(classInt) ; library(viridis)
# Reading spatial data ---------------------------
sf_gb <- st_read("https://opendata.arcgis.com/datasets/07194e4507ae491488471c84b23a90f2_3.geojson", quiet = TRUE)
glimpse(sf_gb)
st_geometry(sf_gb)
@romainGuiet
romainGuiet / split_channels.ijm
Last active April 26, 2024 00:18
An imagej macro example to process a folder of images, split the channels and save them in an output directory
// ask user to select a folder
dir = getDirectory("Select A folder");
// get the list of files (& folders) in it
fileList = getFileList(dir);
// prepare a folder to output the images
output_dir = dir + File.separator + "output" + File.separator ;
File.makeDirectory(output_dir);
//activate batch mode