Skip to content

Commit

Permalink
denoise
Browse files Browse the repository at this point in the history
  • Loading branch information
VascoElbrecht committed Aug 3, 2017
1 parent 3487038 commit ba3a042
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 230 deletions.
4 changes: 1 addition & 3 deletions JAMP/R/Denoise.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Haplotyping v0.1

Denoise <- function(files="latest", strategy="unoise", unoise_alpha=5, minsize=10, minhaplosize=0.003){
Denoise <- function(files="latest", strategy="unoise", unoise_alpha=5, minsize=10, minrelsize=0.0001, minhaplosize=0.003){



Expand Down Expand Up @@ -233,8 +233,6 @@ data[nrow(data), i+3] <- data[nrow(data), i+3] + sum(data[i+3][temp < minhaplosi
data[i+3][temp < minhaplosize] <- 0
}

tail(data)


# remove all rows with 0!
data <- data[rowSums(data[5:ncol(data)-1])!=0,]
Expand Down
227 changes: 0 additions & 227 deletions log.txt

This file was deleted.

0 comments on commit ba3a042

Please sign in to comment.