Displaying 20 results from an estimated 1400 matches similar to: "help requested"
2010 Dec 01
1
Graph in R with edge weights
Can you please show code example, how to draw graph with some nodes and
edges, but with weights. I only found here
http://www.bioconductor.org/packages/release/bioc/vignettes/Rgraphviz/inst/doc/Rgraphviz.pdf-
Using edge weights for labels, but...
Here an example:
> library("graph"); library(Rgraphviz)
> myNodes = c("s", "p", "q", "r")
>
2011 Feb 13
1
RCytoscape setPosition error
Hi
Can some one please point out where i am wrong.
I am trying to position set of nodes column-wise in cytoscape using
RCytoscape
A----D
B----E
C----F
-------------------
g <- new ('graphNEL', edgemode='undirected')
cw <- CytoscapeWindow ('smallExample', graph=RCytoscape::makeSimpleGraph())
layout (cw, 'jgraph-spring')
redraw(cw)
nodesFr = c('A',
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
2006 Jul 06
1
Rgraphviz: How to control the colours of edges in a graph
Using Rgraphviz, I draw the undirected graph with vertices A,B,C and D and edges A:B, B:C, C:D, D:A, A:C. I want the vertices A and B to be red and C and D to be blue. The problem is the following: I want the edges A:B and B:C to be green and the edges C:D and C:A to be yellow, while the edge A:C can have the default colour black. I assume that I have to specify this using the edgeAttrs-argument
2012 Jun 04
1
Plotting with Rgraphviz
Hi All,
After a lengthy battle just to get the package installed, I am not able to
actually use Rgraphviz to generate any plots. I tried just using the sample
code in the documentation
(http://www2.warwick.ac.uk/fac/sci/moac/people/students/peter_cock/r/rgraphviz/)
and I get the following:
*> > library(Rgraphviz)
> test.matrix<-matrix(rep(c(0,1,0,0), 9), ncol=6, nrow=6)
>
2014 Oct 07
1
Issue installing Matrix Package
Hi,
I installed R-3.1.1 on AIX-5.3 and my installation hanged up while
installing Matrix Package.
so i killed the gmake ; gmake install the software nad tired installing
Matrix package manually -
[ncmr0202][/gpfs1/home/shivali/gang/R-3.1.1/bin/package]>
/gpfs1/home/shivali/gang/R-3.1.1/bin/R CMD INSTALL Matrix
the package compiled successfully but while loading Matrix package the
2008 Jan 28
2
New package: gRain - gRAphical Independence Networks
Dear useRs
I have uploaded a new package, gRain, for propability propagation in graphical independence networks; sometimes also called probabilistic expertsystems and Bayesian networks.
Regards
S?ren H?jsgaard
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
2008 Jan 28
2
New package: gRain - gRAphical Independence Networks
Dear useRs
I have uploaded a new package, gRain, for propability propagation in graphical independence networks; sometimes also called probabilistic expertsystems and Bayesian networks.
Regards
S?ren H?jsgaard
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
2008 Jun 08
1
R CMD CHECK WARNING inappropriate for S4 method?
The package 'graph' defines classes graph and graphNEL (extending
graph) and a union,graph,graph-method. These are all exported and
fully documented.
The package 'GSEABase' Imports: graph and importClassesFrom(graph,
graphNEL). GSEABase defines methods on union for its own classes (not
graph / graphNEL), and has exportMethods(union).
union,graph,graph-method is not used in
2012 Nov 01
1
GraphNEL object retrieve edgenumber from acc() or is it list of lists?
Hello everyone,
Im working with graphNEL object and want to extract all the nodes which
have adjacent nodes with at least 20 nodes in between them.
acc(graph, graphnodes) obviously provides a list for the accessable
nodes of every node from a node and a number of the edges between them.
Like this:
$`hsa:8379`
hsa:100131844 hsa:10393 hsa:246184 hsa:29882 hsa:29945
1
2006 Jan 05
1
Generic Functions
Hi,
I've been using the package "graph" in the BioConductor assortment and
writing some functions based on its classes. My question is not specific to
this package or BioConductor (I think), but it serves as a useful example.
I recently wanted to look at the code for the function "edgeMatrix" for the
class "graphNEL".
Usually I would type
> func.foo
and
2020 Jul 01
2
How to prevent llvm's default optimization
Thanks. I have checked the hook DAGCombiner::isMulAddWithConstProfitable
And I think the above condition is too aggressive.
// If the add only has one use, this would be OK to do.
if (AddNode.getNode()->hasOneUse())
return true;
Shall we make it to
if (AddNode.getNode()->hasOneUse() && TargetLowering.isCheaperCommuteAddMul(......))
return true;
The virtual hook
2016 Jan 04
2
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
The bulk is on my forums - the final post for today is:
Results to date:
A. It looks like I am going to need a newer compiler for C - xlc/xlC V11
apparently does not understand this code:
"/data/prj/cran/R-3.2.3/src/main/memory.c", line 2149.31: 1506-046 (S)
Syntax error.
I will have to check if R-devel has different code before asking for
assistence.
+2139 #ifdef
2009 Jun 24
0
Matrix vignette error in June 24 RC
I am getting the following problem with make check-all on the June 24
rc. I realize I could probably fix it by installing/setting a path to
the sty file, but I don't remember having to do that for make check-all
in the past.
Paul Gilbert
___________
....
checking package 'Matrix'
* checking for working pdflatex ... OK
* using log directory
2011 Apr 09
3
Converting edgelist to symmetric matrix
Hi,
I have network data in the form of a couple of edgelists containing weights in
the format "x,y,weight" whereby x represents row header and y represents column
header. All edgelists are based on links among 634 nodes and I need to convert
them into a 634*634 weighted matrix.
I searched for online help using possible keywords I know, but I could not find
a clue how to do this in
2010 Jun 03
1
Memory leak using Rgraphviz
I'm running an Ubuntu 10.04 system and installed R 2.10.1 through the package manger. I then installed Rgraphviz 1.24 and graph 1.26 through R.
I'm trying to understand why a complex function my team wrote causes R's memory footprint viewed through top to increase every time it's run. I traced the increase in memory usage to layoutGraph() and wrote the following short function
2012 Mar 27
2
drawing the graph with many nodes
Good morning,
I'm trying to draw a graph, and I'm using the following code.
test.matrix<-read.table("~/Desktop/Results/testgephi.csv", header = T,
sep=",")
colnames(test.matrix) <- gsub("X", "", colnames(test.matrix))
#drop first column
drops <- c("")
test.matrix<-test.matrix[,!(names(test.matrix) %in% drops)]
test.matrix
2009 Feb 16
1
Newbie - how do I debug a crash of RGUI.EXE
Hi-
I'm running Vista64 Business and trying to use a package called
RGraphViz. Unfortunately, when I try to plot a graph using this package
it causes RGUI.EXE to crash. This package has no problem working in
WinXP 32-bit.
Is there any way to get useful information as to why it crashes?
Here's my commands:
> library(Rgraphviz)
Loading required package: graph
Loading required
2010 Dec 11
0
is there a packge or code to generate markov chains in R
Hi,
if i have data in the following time series format:
time, amount, state
1 2222 A
1 333 B
2 45 A
2 77 B
where states could be n and time periods t is there a package in R that would calculate the transition probabilities in a markov chain.
for each t except t=0 to generate
A B
A
B
perhaps the best structure might
2007 Feb 13
4
Advice on visual graph packages
Hey, all. I'm looking for packages that are good at two things
1) Drawing directed graphs (i.e nodes and edges), both with single
and double headed arrows, as well as allowing for differences in line
width and solid versus dashed. Note: I've tried Rgraphviz here, but
have run into some problems (which seem fixable and I may go with it
in the end), and it doesn't satisfy need