Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
minervaR
Commits
b188da4d
Commit
b188da4d
authored
Nov 16, 2022
by
Marek Ostaszewski
Browse files
Merge branch 'Rcode' into 'master'
defau;t color of network_to_gpml changed to black See merge request
!64
parents
6236f326
77ec2aaf
Pipeline
#64948
passed with stage
in 1 minute and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
R/converters.R
View file @
b188da4d
...
...
@@ -309,7 +309,7 @@ network_to_gpml <- function(source_table, node_attributes = NULL, expansion_coef
source_table
<-
cbind
(
source_table
,
thickness
=
"1.0"
)
}
if
(
!
(
"color"
%in%
names
(
source_table
)))
{
source_table
<-
cbind
(
source_table
,
color
=
"
ff
0000"
)
source_table
<-
cbind
(
source_table
,
color
=
"
00
0000"
)
}
### Create an igraph from the network
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment