Skip to content

Instantly share code, notes, and snippets.

View vd4mmind's full-sized avatar
💭
I may be slow to respond.

ivivek87 vd4mmind

💭
I may be slow to respond.
View GitHub Profile
@Svidro
Svidro / !Coding helper scripts for QuPath
Last active December 10, 2024 00:34
Coding helper scripts for QuPath
Collections of scripts harvested mainly from Pete, but also picked up from the forums
If you are starting with 0.2.0m4+ START HERE: https://petebankhead.github.io/qupath/2019/08/21/scripting-in-v020.html
TOC
Access objects in other project images.groovy - in later versions of 0.2.0M#, access the hierarchies of other images
Access other project images or data.groovy
Access project metadata.groovy - interact with user defined, per image metadata. Useful for sorting projects.
@angelovangel
angelovangel / Using models from the drc package with ggplot
Last active June 23, 2023 13:43
Using models from the drc package (for dose-response curves) with ggplot
# the aim is to use the 'drc' package to fit models to data and then extract the data and use for plotting in ggplot
# the data could be growth curves, dose-response, Michaelis-Menten etc.
# here, the S.alba data from drc is used for dose-response
library(tidyverse)
library(broom)
library(drc)
library(modelr)
attach(S.alba) # the data used in this gist
library(egg)
@slowkow
slowkow / VCF.py
Last active May 29, 2024 13:57
VCF.py is a simple module for reading VCF files
"""
VCF.py
Kamil Slowikowski
October 30, 2013
Read VCF files. Works with gzip compressed files and pandas.
Note: This module ignores the genotype columns because
I didn't need them at the time of writing.