Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mouselab
stuart
Commits
2389d668
Commit
2389d668
authored
Jun 17, 2021
by
Marie BOURDON
Browse files
Merge branch 'develop' into 'master'
Update write_rqtl.R See merge request
!7
parents
f6809a82
3afae76c
Changes
1
Show whitespace changes
Inline
Side-by-side
R/write_rqtl.R
View file @
2389d668
...
...
@@ -59,6 +59,9 @@ write_rqtl <- function(geno,pheno,tab,ref,par1,par2,prefix,pos,path=NA){
#merge genotypes with parents
geno
<-
left_join
(
geno
,
ref
,
by
=
c
(
"marker"
=
"marker"
))
#remove snps with no position
geno
<-
geno
%>%
filter
(
is.na
(
chr
)
==
FALSE
)
#recode "-" in "N" in geno file
geno
<-
geno
%>%
mutate
(
allele_1
=
recode
(
allele_1
,
"-"
=
"N"
))
...
...
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