Prune a list of genes by maximal edge distance from provided seed genes using gene-gene functional interactions as edges.
prune(genes, seed_genes, minscore = 0, maxedgedistance = Inf)
genes | character vector of ensembl IDs |
---|---|
seed_genes | character vector of ensembl IDs |
minscore | minimal evidence score for edges to include (see |
maxedgedistance | only genes that are connected to any of the seed genes
via |
a character vector with retained genes, always containes all seed genes
#> [1] "ENSG00000130203"