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
Aurelien Brionne
GenomeFeatures
Commits
af732688
Commit
af732688
authored
Mar 29, 2018
by
Aurelien Brionne
Browse files
add 3 digits after . for coverage
parent
81d0bf67
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/genome_features_overlaps.R
View file @
af732688
...
...
@@ -109,12 +109,12 @@ setMethod("genome_features_overlaps",definition=function(peaks,features,figs_pat
###################
# query_coverage
peak_coverage
=
base
::
round
(
overlaps_length
/
IRanges
::
width
(
query
[
S4Vectors
::
queryHits
(
hits
)])
*
100
,
digits
=
2
)
query
[
S4Vectors
::
queryHits
(
hits
)])
*
100
,
digits
=
3
)
###################
# subject_coverage
feature_coverage
=
base
::
round
(
overlaps_length
/
IRanges
::
width
(
subject
[
S4Vectors
::
subjectHits
(
hits
)])
*
100
,
digits
=
2
)
subject
[
S4Vectors
::
subjectHits
(
hits
)])
*
100
,
digits
=
3
)
###################
# subject_coordinates
...
...
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