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

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

No files matched your search

+1 -1
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,])))