Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Gitlab will go into maintenance Friday 3rd February from 9:00 to 10:00
Open sidebar
COVID-19
models
Commits
f9540beb
Commit
f9540beb
authored
Apr 01, 2021
by
Marek Ostaszewski
Browse files
model updates
parent
2b614cee
Pipeline
#39224
passed with stages
in 36 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Curation/Apoptosis/Apoptosis_stable.xml
View file @
f9540beb
This diff is collapsed.
Click to expand it.
Curation/Interferon pathway/Interferon1_stable.xml
View file @
f9540beb
This diff is collapsed.
Click to expand it.
Integration/MINERVA_access/minerva_access_functions.R
View file @
f9540beb
...
...
@@ -62,9 +62,7 @@ get_map_components <- function(map_api, project_id = NULL,
}
### Get annotation of a given type, from element/reaction references
get_annotation
<-
function
(
freferences
,
ftype
)
{
sapply
(
freferences
,
function
(
x
)
{
ifelse
(
any
(
x
$
type
==
ftype
),
x
$
resource
[
x
$
type
==
ftype
],
NA
)
})
get_annotation
<-
function
(
references
,
selected_type
)
{
if
(
length
(
references
)
==
0
)
{
return
(
NA
)
}
with
(
data.frame
(
references
),
resource
[
type
==
selected_type
])
}
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