Skip to content

Commit

Permalink
Fix: Escape the "$" in SPRING template
Browse files Browse the repository at this point in the history
  • Loading branch information
dileep-kishore committed Nov 16, 2021
1 parent bcb17fb commit 3799609
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions micone/pipelines/templates/network_inference/direct/spring.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ fit.spring <- SPRING(otu_t,
)

# StARS-selected lambda index based on the threshold (default = 0.01)
opt.K <- fit.spring$output$stars$opt.index
opt.K <- fit.spring\$output\$stars\$opt.index
# Estimated adjacency matrix from sparse graphical modeling technique ("mb" method) (1 = edge, 0 = no edge)
adj.K <- as.matrix(fit.spring$fit$est$path[[opt.K]])
adj.K <- as.matrix(fit.spring\$fit\$est\$path[[opt.K]])
# Estimated partial correlation coefficient, same as negative precision matrix.
pcor.K <- as.matrix(SpiecEasi::symBeta(fit.spring$output$est$beta[[opt.K]], mode = "maxabs"))
pcor.K <- as.matrix(SpiecEasi::symBeta(fit.spring\$output\$est\$beta[[opt.K]], mode = "maxabs"))


otuNetwork <- pcor.K
Expand Down

0 comments on commit 3799609

Please sign in to comment.