Skip to content

Commit

Permalink
Change filtering in ALDEx2 differential abundance to be slightly less…
Browse files Browse the repository at this point in the history
… stringent. Make it more clear what the filter is applying
  • Loading branch information
bsiranosian committed Dec 15, 2021
1 parent 53157ee commit dd2928e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/post_classification_workflow.R
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,9 @@ if (nrow(sample.groups) < 3){
# AT A SPECIFIC TAX LEVEL: filtering
# keep only those samples with > min.reads
min.reads <- 5000
# keep only OTUs with an abundance of at least 0.01
min.prop = 0.01
# keep only OTUs with an FRACTION of at least 0.001
# This is equivalent to a PERCENTAGE of 0.1
min.prop = 0.001
# keep OTUs that are found in at least 30% of samples
cutoff = .3
use.mat <- kgct.filtered.classified.list[[tax.level]]@mat
Expand Down

0 comments on commit dd2928e

Please sign in to comment.