Skip to content

Commit

Permalink
Test data updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jlmaier12 committed Dec 18, 2024
1 parent 7ab4fa9 commit 3944e80
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/VLPFractionSamplePileup.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#' associated read coverage patterns in the VLP-fraction exemplify TrIdent's
#' pattern-matching functionality across classifications:
#' NODE_617:Prophage-like, active/abundant, with spec transduction
#' NODE_125:Prophage-like, off one side of contig, no spec transduction
#' NODE_135:Prophage-like, off one side of contig, no spec transduction
#' NODE_352:Sloping, left to right slope
#' NODE_251: Sloping, right to left slope
#' NODE_2060: Sloping, right to left slope with start
Expand Down
2 changes: 1 addition & 1 deletion R/WholeCommunitySamplePileup.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#' associated read coverage patterns in the VLP-fraction exemplify TrIdent's
#' pattern-matching and characterization functionality across classifications:
#' NODE_617:Prophage-like, active/abundant, with spec transduction
#' NODE_125:Prophage-like, off one side of contig, no spec transduction
#' NODE_135:Prophage-like, off one side of contig, no spec transduction
#' NODE_352:Sloping, left to right slope
#' NODE_251: Sloping, right to left slope
#' NODE_2060: Sloping, right to left slope with start
Expand Down
3 changes: 2 additions & 1 deletion R/noPattern.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ noPattern <- function(viralSubset) {
diff1 <- mean(abs(viralSubset[, 2] - pattern1))
diff2 <- mean(abs(viralSubset[, 2] - pattern2))
diff <- ifelse(diff1 < diff2, diff1, diff2)
value <- ifelse(diff1 < diff2, median(viralSubset[, 2]), mean(viralSubset[, 2]))
value <- ifelse(diff1 < diff2, median(viralSubset[, 2]),
mean(viralSubset[, 2]))
bestMatchInfo <-
list(
diff,
Expand Down
Binary file modified data/TrIdentSampleOutput.rda
Binary file not shown.
Binary file modified data/VLPFractionSamplePileup.rda
Binary file not shown.
Binary file modified data/WholeCommunitySamplePileup.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion man/VLPFractionSamplePileup.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/WholeCommunitySamplePileup.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3944e80

Please sign in to comment.