\name{addSubgraph.list} \alias{addSubgraph.list} \alias{addSubgraph.list,RedPort-method} \title{Add a list of subgraphs to RedeR application.} \description{ Method to send subgraphs to RedeR app. } \usage{ addSubgraph.list(obj, g, nodeList, ...) } \arguments{ \item{obj}{ Object of RedPort Class. } \item{g}{ An igraph object. } \item{nodeList}{List of nodes. Will be used to extra subgraphs from g. } \item{...}{ Additional arguments passed to RedeR application. } } \details{ Additional arguments: \describe{ \item{gridRows}{Number of lines to layout the subgraph panel (default = 2) } \item{gridScale}{Expansion factor of the grid area in the app panel. Options: 0.0 to 100 (default = 50) . } \item{gscale}{Expansion factor each subgraph related to the app panel (default = 20) . } \item{gatt}{Either a list or data frame with graph attributes (for data frames, attribute names on cols). See attribute syntax in \code{\link[RedeR:addGraph]{addGraph}} } \item{update}{String argument: if 'all' it forces to update node/edge attributes of a graph already available in the app panel; if 'partial', only node attributes are updated (default = NULL). } \item{theme}{Some pre-defined nest attributes. Options: 'tm0','tm1','tm2','tm3','tm4','tm5','tm6'.} } } \value{ Extracts subgraphs from 'igraph' objects and sends the result to the RedeR app. } \author{Mauro Castro} \seealso{ \code{\link[RedeR:addSubgraph]{addSubgraph}} \code{\link[RedeR:addGraph]{addGraph}} } \examples{ rdp <- RedPort('MyPort') \dontrun{ calld(rdp) g <- graph.lattice(c(5,5,5)) #..extract subgraphs from g and send to RedeR: nl<-list(c(1:10),c(15:20)) att<-data.frame(isNest=c(TRUE,TRUE), nestColor=c("#0000ff","#ff0000")) addSubgraph.list( rdp, g, nodeList=nl, gridRows=1, gatt=att, gridScale=80) #..for further attributes see 'addGraph' function! } } \keyword{graph}