updated readme and made the new function match the rest of the formatting

This commit is contained in:
Marijn
2020-04-27 15:50:48 +02:00
parent c457e087be
commit 40765c3a42
2 changed files with 17 additions and 10 deletions

View File

@@ -146,7 +146,7 @@ plot.ambient.profile = function(ambientProfile){
# I noticed that the number of genes removed tends to even out over time
# Test whether the point where this first happens is a good empty cutoff point
recommendedRemoval = function(ambientProfile){
recommend.empty.cutoff = function(ambientProfile){
highestNumberOfGenes = max(ambientProfile[,3])
firstOccurence = match(highestNumberOfGenes, ambientProfile[,3])
return(as.numeric(rownames(ambientProfile[firstOccurence,])))