Skip to content

Commit

Permalink
rm unused files; change R.Condition and R.Replicate to string
Browse files Browse the repository at this point in the history
  • Loading branch information
Carol-seven committed Jul 25, 2024
1 parent 5ca26bd commit 5408a55
Show file tree
Hide file tree
Showing 97 changed files with 11,528 additions and 2,383 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export(impute.nuc_norm)
export(impute.pca_bayes)
export(impute.pca_prob)
export(normalize)
export(preProcessFiltering)
export(preprocessing)
export(preprocessing_scaffold)
export(pullProteinPath)
Expand Down
2 changes: 1 addition & 1 deletion R/filterings.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#'
#' @autoglobal
#'
#' @export
#' @noRd

preProcessFiltering <- function(dataSet,
filterNaN = TRUE,
Expand Down
2 changes: 2 additions & 0 deletions R/preprocessing.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ preprocessing <- function(fileName,

## select columns necessary for analysis
selectedData <- filteredData %>%
mutate(R.Condition = as.character(R.Condition),
R.Replicate = as.character(R.Replicate)) %>%
select(R.Condition, R.Replicate, PG.Quantity, PG.ProteinNames, PG.ProteinAccessions)

## print summary statistics for full raw data set
Expand Down
3 changes: 1 addition & 2 deletions R/visualizations.R
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ visualize <- function(
} else if (graphType == "normalize") {

plotData <- dataSet %>%
pivot_longer(-c(R.Condition, R.Replicate)) %>%
mutate(across(c(R.Condition, R.Replicate), as.character))
pivot_longer(-c(R.Condition, R.Replicate))

ggplot(plotData, aes(x = R.Condition, y = value,
fill = if (length(unique(R.Replicate)) == 1) R.Condition else R.Replicate)) +
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ build this package.
2. `sh: /opt/gfortran/bin/gfortran: No such file or directory`

The [GFortran](https://fortran-lang.org/learn/os_setup/install_gfortran/) compiler is
required to build this package.
required to build this package.

61 changes: 25 additions & 36 deletions docs/404.html

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

52 changes: 20 additions & 32 deletions docs/LICENSE-text.html

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

Loading

0 comments on commit 5408a55

Please sign in to comment.