This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Code originally written by Kimberly Meechan and Fiona Love. | |
#Function returns downstream profiles of a provided skid at nodes distal to a provided cut point. | |
#NB. Check root point in CATMAID, as distal_to function looks distal to the root node. | |
# skid = skid of neuron you want to sample downstream partners from | |
# node = node at which you want to virtually cut your neuron to sample the distal fragment | |
downstream_profiles <- function(skid, node) { | |
library(elmr) | |
library(catmaid) |