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
c53775b7
Commit
c53775b7
authored
May 13, 2022
by
Simon Gosset
Browse files
correction bug imex mint
parent
68cb18e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/methods.R
View file @
c53775b7
...
...
@@ -247,7 +247,32 @@ pubmed_id <- function(Final.List.Redondant, Name, run) {
j
<-
j
+
1
}
if
(
nbl
>
1
)
{
unredundant
<<-
rbind
(
unredundant
,
as.matrix
(
t
(
c
(
Inter.red
[
i
,],
"NA"
))))
pubmed
=
as.matrix
(
t
(
c
(
Inter.red
[
i
,],
"NA"
)))[,
6
]
pubmed
=
unlist
(
strsplit
(
pubmed
,
split
=
"\\|"
))
a
=
grep
(
x
=
pubmed
,
pattern
=
"pubmed:"
)
pubmed2
=
pubmed
[
a
[
1
]]
if
(
length
(
a
)
>
1
)
{
a
[
-1
]
for
(
k
in
a
)
{
pubmed2
=
paste
(
pubmed2
,
pubmed
[
k
],
sep
=
"\\|"
)
}
}
row
=
as.matrix
(
t
(
c
(
Inter.red
[
i
,],
"NA"
)))
row
[,
6
]
=
pubmed2
unredundant
<<-
rbind
(
unredundant
,
row
)
}
# Recuperation des differents pubmed-ID
if
(
length
(
indi
)
>
1
)
{
...
...
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