Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GNet
APPINetwork
Commits
0cd041d9
Commit
0cd041d9
authored
Mar 14, 2022
by
Gosset Simon
Browse files
Update R/methods.R
parent
7cd42887
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/methods.R
View file @
0cd041d9
...
@@ -238,8 +238,6 @@ pubmed_id <- function(Final.List.Redondant, Name, run) {
...
@@ -238,8 +238,6 @@ pubmed_id <- function(Final.List.Redondant, Name, run) {
# Recuperation des differents pubmed-ID
# Recuperation des differents pubmed-ID
if
(
length
(
indi
)
>
1
)
{
if
(
length
(
indi
)
>
1
)
{
pmids
<-
unique
(
Inter.red
[
indi
,
6
])
pmids
<-
unique
(
Inter.red
[
indi
,
6
])
pmindices
=
grep
(
x
=
pmids
,
pattern
=
"pubmed"
)
pmids
=
pmids
[
pmindices
]
pmids
<-
as.matrix
(
pmids
)
pmids
<-
as.matrix
(
pmids
)
pmids2
<-
c
()
pmids2
<-
c
()
for
(
n
in
1
:
length
(
pmids
))
{
for
(
n
in
1
:
length
(
pmids
))
{
...
@@ -250,6 +248,8 @@ pubmed_id <- function(Final.List.Redondant, Name, run) {
...
@@ -250,6 +248,8 @@ pubmed_id <- function(Final.List.Redondant, Name, run) {
}
}
}
}
pmids
<-
unique
(
as.vector
(
pmids2
))
pmids
<-
unique
(
as.vector
(
pmids2
))
pmindices
=
grep
(
x
=
pmids
,
pattern
=
"pubmed"
)
pmids
=
pmids
[
pmindices
]
# Rassemblement des different pubmed-ID de chaque interaction
# Rassemblement des different pubmed-ID de chaque interaction
pmids3
<-
c
()
pmids3
<-
c
()
b
<-
length
(
pmids
)
b
<-
length
(
pmids
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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