Displaying 20 results from an estimated 300 matches similar to: "layout of igraph"
2009 Mar 03
1
save the layout using igraph
Hi R users,
I am using built-in functions in igraph package to draw networks . I need
to compare several network with exactly the same structure but with edge
hightlighted differently. I am wondering if there is a way to save the
layout so that every graph will look the same as each other except for the
colors of edges. Or is there any parameter I can set for this purpose??
Thanks in advance,
2008 Nov 14
1
igraph and tkgraph
I have a number of (directed) graphs based on social groups, where the
members have expresed likes and dislikes in respect to the other
members. tkgraph makes it simple to draw the graphs in a very pleasing
way, but I would like to differentiate between positive and negative
relations in the graph by having the edges for the negative relations
dashed and the positive ones continuous.
Is
2007 Oct 09
3
igraph and plotting connected components
Hello there,
I am using the igraph package to build graphs from my data. If I plot a graph though, it's not easy for me to see what's going on. Does anybody know how to rearrange a graph to get a plot without too many crossing lines? Maybe other packages?
Thanks a lot in advance for any pointers,
-- D
---------------------------------
[[alternative
2007 Sep 15
2
naming columns of data frame
Hey,
I am trying to make a data frame and the name of a column is composed of a
number, a dot, and a word, such as "1.whatever". But I always get this error
message:"syntax error, unexpected SYMBOL, expecting ',' in:" while printing
data frame out . When I rename the column with purely letter, everything
works fine. Some suggestion about the cause/ solution ?? Thanks.
2009 Aug 03
2
combine venn diagram and pie chart
Hi R users,
I am wondering if it there is any R's function helping integrate venn
diagram and pie chart to compare two related datasets.
I know the package limma(bioconductor) has something built-in for making
venn diagram, but I guess it would be very painful to use line and text to
specify the proportions in the fashion of pie chart .
Thanks in advance,
Kevin Chang
--
View this
2007 Oct 08
2
graph or svn
Hello all,
I'm having a spot of trouble. I have made a very nice distance
matrix from some comparison calculations. However, the matrix is 3096 x
3096, so it's relatively large. Currently I'm using the svn package as
it seems to work for my data. The graph package errors and says the
"adjacency matrix must be symmetric for undirected graphs". I though
3096 x 3096 was
2007 Oct 29
2
flops calculation
Hi all,
Since proc.time return three different kind of times (user, system and
elapsed) , I am wondering which one is right for calculating flops. In New S
Language (Becker et. al. ) , it seems to be the user because " the user time
measures the processor time used in S and the system time measures the
operating system in response to S's request". But in R Help , system time
2010 Sep 27
1
Modify the vertex label
Dear r-help,
I create a graph of my baysian network. I use the package igraph. The names
of vertex are within the circle, I would leave them outside the circle?
> E(g)$color <- "black"
> tkplot(g, ,vertex.label=names,layout=layout.kamada.kawai,
edge.color=E(g)$color)
Best Regards
[[alternative HTML version deleted]]
2007 Sep 13
1
rearrange problem
Hi All,
I am trying to rearrange alphabetically each element in a character vector.
ex: say the first element in the vector is "cba", and my goal is to turn it
into "abc". The suggested function to use is sort(). But it turns out that
sort doesn't work at the level of element. So I am wondering that if there
is an alternative function for this purpose. Please help me out .
2007 Sep 16
2
stalled loop
Hi,
The loop I wrote executes correctly but is stalled seriously. Is there a
way to hasten execution without coming up with a brand new algorithm ?
please help. Thanks.
--
View this message in context: http://www.nabble.com/stalled-loop-tf4451301.html#a12699524
Sent from the R help mailing list archive at Nabble.com.
2009 Jul 20
1
locate substring in the string it belong to
Hi R users,
I am trying generate the indices for locating a in the string it come from.
Given the length of the string, it will take too long using the combn() for
further comparison. I am wondering if R has any built-in function for this
purpose.
To make it concrete:
this.substring="cc"
this.string="ccc"
start.location=1,2
end.location=2,3
Thanks in advance,
Kevin
2011 Sep 14
1
Questons about 'igraph' package
Hi,
I am using 'igraph' to make some plots. The problem I got is that I don't
know how to label the nodes with gene names.
My sample code:
## suppose I have 100 gene (nodes) ##
---------------------------------------------------------------------------
graph <- set.vertex.attribute(graph, "color",
value=c(rep(c('green','red'),50)))
graph <-
2011 Mar 28
2
Questions about 'igraph' package.......
I am using 'igraph' package to make some graphs of 'gene-gene interaction'.
I can get a data.frame which has three columns.
gene1 gene2 pvalue
AGT MLR 1.2e-04
MLR 11BHSD1 1.71e-05
IFG2 11BHSD2 2.2e-07
. . .
. . .
. . .
AGTR1 NPPA
2009 Apr 18
0
igraph 0.5.2
igraph is a package for graphs/networks. It has a C core and
uses a simple and fast graph representation allowing millions
of vertices and edges.
LINKS
Release notes for the 0.5.2 version:
http://igraph.sourceforge.net/relnotes-0.5.2.html
Release notes for the 0.5.1 version:
http://igraph.sourceforge.net/relnotes-0.5.1.html
Complete list of changes:
http://igraph.sourceforge.net/news.html
The
2009 Apr 18
0
igraph 0.5.2
igraph is a package for graphs/networks. It has a C core and
uses a simple and fast graph representation allowing millions
of vertices and edges.
LINKS
Release notes for the 0.5.2 version:
http://igraph.sourceforge.net/relnotes-0.5.2.html
Release notes for the 0.5.1 version:
http://igraph.sourceforge.net/relnotes-0.5.1.html
Complete list of changes:
http://igraph.sourceforge.net/news.html
The
2011 Sep 29
1
plot.igraph
I am having trouble plotting one of my graphs (think graph theory graph with
edges and vertices, not scatterplots or histograms). For some pairs of
vertices, I want multiple edges to be visible in my graph. As an example of
this, in my script below, I want two edges to be visible from vertex 1 and
vertex 9 (among some others) yet when I plot it, only one edge is visible.
2008 Jul 11
2
network
Hello
I am a relatively new user of R and am struggling to use the 'network' package. I have a correlation matrix (produced using 'cor'), and want to draw a network where each item showing correlation above a threshold (say 0.5) is joined by a green line, and each item showing correlation below a threshold (say -0.5) is joined by a red line. Does anyone have any hints of how to
2008 Feb 20
0
igraph package, version 0.5
igraph is a package for graphs and networks. It has a C core and
uses a simple and fast graph representation allowing millions
of vertices and edges.
NEW FEATURES:
- We use the ARPACK library for graph related eigenvalue problems,
like Page Rank calculation, Kleinberg's hub and authority scores,
eigenvector centrality, etc. There is also a generic interface
if someone wants to use
2008 Feb 20
0
igraph package, version 0.5
igraph is a package for graphs and networks. It has a C core and
uses a simple and fast graph representation allowing millions
of vertices and edges.
NEW FEATURES:
- We use the ARPACK library for graph related eigenvalue problems,
like Page Rank calculation, Kleinberg's hub and authority scores,
eigenvector centrality, etc. There is also a generic interface
if someone wants to use
2011 Apr 11
1
plot - kamada.kawai layout without arrows
Hi,
I am plotting a graph with kamada.kawai layout.
But I am getting direction arrows in the graphs.
Please let me know how to avoid this.
g <- watts.strogatz.game(1, 2000, 5, 0.4)
comps <- clusters(g)$membership
colbar <- rainbow(max(comps)+1)
V(g)$color <- colbar[comps+1]
png(filename)
plot(g, layout=layout.kamada.kawai, vertex.size=2, vertex.label=NA)
dev.off()
Please find