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
2d34eee0
Commit
2d34eee0
authored
Mar 29, 2018
by
Aurelien Brionne
Browse files
add 3 digits
parent
af732688
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/genome_features_overlaps.R
View file @
2d34eee0
...
...
@@ -255,7 +255,7 @@ setMethod("genome_features_overlaps",definition=function(peaks,features,figs_pat
###################
# compute frequency
features_frequency
<-
features_count
[,
base
::
lapply
(
.SD
,
function
(
x
){
base
::
round
(
x
/
sum
*
100
,
digits
=
2
)}),
base
::
lapply
(
.SD
,
function
(
x
){
base
::
round
(
x
/
sum
*
100
,
digits
=
3
)}),
.SDcols
=
2
:
(
base
::
ncol
(
features_count
)
-1
),
by
=
condition
]
###################
...
...
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