trace_filter: Process a path trace list

trace_filterR Documentation

Process a path trace list

Description

This function takes a path trace object from short_paths() and transforms it into the list of genes to keep for the sub network generation.

Usage

trace_filter(path_obj)

Arguments

path_obj

path trace object from short_paths()

Value

a list of genes from the path trace to use for filtering the main network

Examples

obj <- list(list( 
    Inter = c("GeneA","GeneZ", "GeneAlpha",
       "GeneB", "GeneX", "GeneOmega",
       "Gene1","Gene2", "GeneUno",
       "Gene12", "Gene13", "GeneOcho"),
    Sentinal = c("GeneEh","GeneZee", "GeneAlpha",
       "GeneB", "GeneXray", "GeneOmega",
       "Gene11","Gene21", "GeneUno",
       "Gene1", "Gene3", "GeneOcho")
))
trace_filter(obj)

jgockley62/igraphNetworkExpansion documentation built on April 15, 2022, 12:14 a.m.