-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests to testthat 3rd edition, amongst many other small changes.
- Loading branch information
Showing
112 changed files
with
17,638 additions
and
4,696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#' PeptideGroups PD output for SILAC labelled MOLM-13 cells | ||
#' | ||
#' @description Passage 0, 100% light (R0K0). | ||
#' | ||
#' \describe{ | ||
#' \item{column name}{`class`. Description.} | ||
#' } | ||
#' | ||
#' @references Insert reference here when published. | ||
#' | ||
#' @keywords datasets | ||
"pep_silac_p0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#' PeptideGroups PD output for SILAC labelled MOLM-13 cells | ||
#' | ||
#' @description Passage 4, 1:1 light:heavy mixture (R0K0:R10K8). | ||
#' | ||
#' \describe{ | ||
#' \item{column name}{`class`. Description.} | ||
#' } | ||
#' | ||
#' @references Insert reference here when published. | ||
#' | ||
#' @keywords datasets | ||
"pep_silac_p4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#' PSMs PD output for SILAC labelled MOLM-13 cells | ||
#' | ||
#' @description Passage 4, 1:1 light:heavy mixture (R0K0:R10K8). | ||
#' | ||
#' \describe{ | ||
#' \item{column name}{`class`. Description.} | ||
#' } | ||
#' | ||
#' @references Insert reference here when published. | ||
#' | ||
#' @keywords datasets | ||
"psm_silac_p4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
library(dplyr) | ||
|
||
# Read in SILAC passage 0 peptide data | ||
# 100% light cells (R0K0) | ||
pepg <- read.delim( | ||
here::here("data-raw/Molm_13_P0_PeptideGroups.txt") | ||
) | ||
|
||
# Remove extraneous periods from colnames | ||
colnames(pepg) <- remove_dots(colnames(pepg)) | ||
|
||
# Set seed for reproducible sampling | ||
set.seed(2021) | ||
|
||
# Get all peptides for a random sample of 100 Master proteins | ||
pep_silac_p0 <- pepg %>% | ||
filter(Master.Protein.Accessions %in% sample(unique(Master.Protein.Accessions), 100)) | ||
|
||
# Output .rda file | ||
usethis::use_data(pep_silac_p0, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
library(dplyr) | ||
|
||
# Read in SILAC passage 4 peptide data | ||
# 50:50 mix of light:heavy cells (R0K0:R10K8) | ||
pepg <- read.delim( | ||
here::here("data-raw/Molm_13_P4_PeptideGroups.txt") | ||
) | ||
|
||
# Remove extraneous periods from colnames | ||
colnames(pepg) <- remove_dots(colnames(pepg)) | ||
|
||
# Set seed for reproducible sampling | ||
set.seed(2021) | ||
|
||
# Get all peptides for a random sample of 100 Master proteins | ||
pep_silac_p4 <- pepg %>% | ||
filter(Master.Protein.Accessions %in% sample(unique(Master.Protein.Accessions), 100)) | ||
|
||
# Output .rda file | ||
usethis::use_data(pep_silac_p4, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
library(dplyr) | ||
|
||
# Read in SILAC passage 4 peptide data | ||
# 50:50 mix of light:heavy cells (R0K0:R10K8) | ||
silac_p4 <- read.delim( | ||
here::here("data-raw/Molm_13_P4_PSMs.txt") | ||
) | ||
|
||
# Set seed for reproducible sampling | ||
set.seed(2021) | ||
|
||
# Get all PSMs for a random sample of 100 Master proteins | ||
psm_silac_p4 <- silac_p4 %>% | ||
filter(Master.Protein.Accessions %in% sample(unique(Master.Protein.Accessions), 100)) | ||
|
||
# Output .rda file | ||
usethis::use_data(psm_silac_p4, overwrite = TRUE) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.