Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
systems_biology_translators
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Marek Ostaszewski
systems_biology_translators
Merge requests
!22
remove nonprintables and improve read
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
remove nonprintables and improve read
code_update
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Marek Ostaszewski
requested to merge
code_update
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Viewing commit
de259a96
Show latest version
2 files
+
3
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
de259a96
remove nonprintables and improve read
· de259a96
Marek Ostaszewski
authored
2 years ago
hipathia/convert_to_hipathia.R
+
1
−
0
Options
@@ -98,6 +98,7 @@ get_hipathia_files <- function(raw_sif, node_prefix, model_elements, target_dir)
att_nodes
<-
sort
(
unique
(
c
(
raw_sif
[,
1
],
raw_sif
[,
3
])))
att_labels
<-
sapply
(
att_nodes
,
function
(
x
)
with
(
model_elements
,
name
[
elementId
==
x
]))
att_labels
<-
gsub
(
"[^ -~]+"
,
""
,
att_labels
)
node_ID
<-
paste0
(
"N-"
,
node_prefix
,
"-"
,
att_nodes
)
### Retrieve Entrez and type for the entire list of unique nodes
entrez
<-
sapply
(
att_nodes
,
group_elements
,
model_elements
,
all_entrez
)
Loading