Skip to content

Commit

Permalink
Update lefser version
Browse files Browse the repository at this point in the history
  • Loading branch information
sdgamboa committed Sep 23, 2024
1 parent de319d0 commit 77c0a49
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/new_DA_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ DA_lefse <- function(
statInfo$rawP <- seq(0.04, 0, length.out = nrow(statInfo))
statInfo$adjP <- seq(0.09, 0, length.out = nrow(statInfo))
# statInfo$adj_pval <- stats::p.adjust(statInfo$rawP, method = "fdr")
rownames(statInfo) <- statInfo[["features"]] ## check names
rownames(statInfo) <- statInfo[["features"]] ## lefser version 1.15
rownames(statInfo) <- statInfo[["Names"]] ## lefser version 1.14
colnames(statInfo) <- c("Taxa", "LDA_scores", "abs_score", "rawP", "adjP")

pValMat <- statInfo[, c("rawP", "adjP")]
Expand Down
Binary file modified vignettes/articles/Figure1.pdf
Binary file not shown.
1 change: 0 additions & 1 deletion vignettes/articles/HMP_2012_16S_gingival_V35.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ enrichment <- createEnrichment(
priorKnowledge = prior_info,
enrichmentCol = "taxon_annotation",
namesCol = "new_names",
# slot = "pValMat", colName = "adjP", type = "pvalue",
slot = slotV, colName = colNameV, type = typeV,
direction = direction,
threshold_pvalue = adjThr,
Expand Down

0 comments on commit 77c0a49

Please sign in to comment.