Skip to content
Snippets Groups Projects
Commit 69fd9ed1 authored by Shaman Narayanasamy's avatar Shaman Narayanasamy
Browse files

R plotting fix2

parent bd9bbf43
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ coding_density=function(total_len_genes, length){ ...@@ -110,7 +110,7 @@ coding_density=function(total_len_genes, length){
## Calculate N50 ## Calculate N50
get_n50=function(lengths){ get_n50=function(lengths){
x=lengths x=lengths
x[cumsum(x, na.rm = TRUE) > sum(x)/2][1] x[cumsum(x) > sum(x)/2][1]
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment