Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
bioinfo
datautils
Commits
5ff8855e
Commit
5ff8855e
authored
Jul 01, 2016
by
Holger Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deprecated write.bed
parent
08729b53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
R/bio/bioinfo_commons.R
R/bio/bioinfo_commons.R
+7
-4
No files found.
R/bio/bioinfo_commons.R
View file @
5ff8855e
...
...
@@ -52,18 +52,21 @@ getSeqLengthFromFasta <- function(fileName){
# write.table(bedData, file=file, quote=FALSE, sep ="\t", na="NA", row.names=FALSE, col.names=FALSE)
#}
write_bed
<-
function
(
bedData
,
file
)
write.bed
(
bedData
,
file
)
write.bed
<-
function
(
bedData
,
file
){
write_bed
<-
function
(
bedData
,
file
){
oldScipen
<-
getOption
(
"scipen"
)
## necessary to disable scientific number formats for long integers
## necessary to disable scientific number formats for long integers
options
(
scipen
=
100
)
write.table
(
bedData
,
file
=
file
,
quote
=
FALSE
,
sep
=
"\t"
,
na
=
"NA"
,
row.names
=
FALSE
,
col.names
=
FALSE
)
## restore old scipen value
options
(
scipen
=
oldScipen
)
}
write.bed
<-
function
(
bedData
,
file
){
warning
(
"Deprecated: use write_bed instead!"
)
write_bed
(
bedData
,
file
)
}
## reload to fix rename overloading
...
...
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