Pulls the names from an igraph get.all.shortest.paths() object
name_pull(char)
char | is a list entry from get.all.shortest.paths() |
---|
names of the genes in the input trace path
example_path <- list( c('319', "49", "23") ) names(example_path[[1]]) <- c("GeneA", "GeneZ", "GeneAlpha") name_pull(example_path[[1]])#> [1] "GeneA" "GeneZ" "GeneAlpha"