Skip to content

Commit

Permalink
analyze: fix the factor level consistent with the input
Browse files Browse the repository at this point in the history
  • Loading branch information
Carol-seven committed Mar 11, 2024
1 parent 04a222a commit f6d551f
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion R/analyze.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ analyze <- function(dataSet, conditions, testType = "t-test") {
} else if (testType == "mod.t-test") {

## construct the design matrix
conditions <- factor(filteredData$R.Condition, labels = LETTERS[1:2])
conditions <- factor(filteredData$R.Condition, levels = conditions, labels = LETTERS[1:2])
design <- model.matrix(~ 0 + conditions)

## fit linear model for each protein
Expand Down
30 changes: 15 additions & 15 deletions docs/articles/usage_template.html

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 2.0.7
pkgdown_sha: ~
articles:
usage_template: usage_template.html
last_built: 2024-03-07T23:23Z
last_built: 2024-03-11T20:22Z
urls:
reference: https://uconn-scs.github.io/msDiaLogue/reference
article: https://uconn-scs.github.io/msDiaLogue/articles
Expand Down
Binary file modified tests/visualization/MA.pdf
Binary file not shown.
Binary file modified tests/visualization/PCA_biplot.pdf
Binary file not shown.
Binary file modified tests/visualization/PCA_ind.pdf
Binary file not shown.
Binary file modified tests/visualization/PCA_scree.pdf
Binary file not shown.
Binary file modified tests/visualization/PCA_var.pdf
Binary file not shown.
Binary file modified tests/visualization/Upset.pdf
Binary file not shown.
Binary file modified tests/visualization/Venn.pdf
Binary file not shown.
Binary file modified tests/visualization/heatmap_ggplot2.pdf
Binary file not shown.
Binary file modified tests/visualization/heatmap_pheatmap.pdf
Binary file not shown.
Binary file modified tests/visualization/normalize.pdf
Binary file not shown.
Binary file modified tests/visualization/t-test.pdf
Binary file not shown.
Binary file modified tests/visualization/volcano.pdf
Binary file not shown.

0 comments on commit f6d551f

Please sign in to comment.