Learn R Programming

adapr (version 2.0.0)

scriptSubgraph: Produces script only subgraph

Description

Produces script only subgraph

Usage

scriptSubgraph(project.id = getProject(), plotTF = FALSE)

Arguments

project.id

Project id

plotTF

logical to plot subgraph

Value

list with subgraph in igraph format, layout for plottingss

Details

For use with getDepSubgraph

Examples

Run this code
# NOT RUN {
 subGraph <- scriptSubgraph(project.id=getProject())
 plot(subGraph[[1]],vertex.label=basename(V(subGraph[[1]])$name),layout=subGraph[[2]])
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab