-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85bf06e
commit 96865a2
Showing
15 changed files
with
133 additions
and
11 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,56 @@ | ||
ADT | ||
AE | ||
Atchley | ||
Autoencoded | ||
Autoencoder | ||
BCR | ||
BCRs | ||
BLOSUM | ||
Biorxiv | ||
CMD | ||
COVID | ||
CoNGA | ||
Codecov | ||
Experiemt | ||
Ig | ||
KF | ||
Kidera | ||
OHE | ||
Satija's | ||
SingleCell | ||
SingleCellExperiment | ||
TCR | ||
Trex | ||
UMAP | ||
VAE | ||
WNN | ||
aaReduction | ||
autoencoded | ||
autoencoder | ||
autoencoders | ||
cdr | ||
clonality | ||
clonotype | ||
clonotypes | ||
combineBCR | ||
customizable | ||
distReduction | ||
geomteric | ||
github | ||
https | ||
keras | ||
multisystem | ||
ncbi | ||
nih | ||
nlm | ||
preprint | ||
pubmed | ||
quietBCRgenes | ||
runIbex | ||
scRepertoire | ||
scran | ||
seurat | ||
tSNE | ||
tensorflow | ||
variational | ||
vectorize |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
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,3 @@ | ||
if(requireNamespace('spelling', quietly = TRUE)) | ||
spelling::spell_check_test(vignettes = TRUE, error = FALSE, | ||
skip_on_cran = 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,12 @@ | ||
# This file is part of the standard setup for testthat. | ||
# It is recommended that you do not modify it. | ||
# | ||
# Where should you do additional test configuration? | ||
# Learn more about the roles of various files in: | ||
# * https://r-pkgs.org/tests.html | ||
# * https://testthat.r-lib.org/reference/test_package.html#special-files | ||
|
||
library(testthat) | ||
library(Ibex) | ||
|
||
test_check("Ibex") |
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,3 @@ | ||
getdata <- function(dir, name) { | ||
readRDS(paste("testdata/", dir, "/", name, ".rds", sep = "")) # could move testdata 1 dir lvl up nstead | ||
} |
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,43 @@ | ||
# test script for runTrex.R - testcases are NOT comprehensive! | ||
|
||
test_that("runIbex works with seurat objects", { | ||
data("ibex_example") | ||
set.seed(42) | ||
|
||
ibex_example <- runIbex(ibex_example, | ||
chains = "Heavy", | ||
method = "encoder", | ||
encoder.model = "VAE", | ||
encoder.input = "AF", | ||
reduction.name = "Heavy_VAE_AF") | ||
|
||
expect_equal( | ||
ibex_example@reductions$Heavy_VAE_AF@cell.embeddings, | ||
getdata("runIbex", "runIbex_Heavy_VAE_AF_reduction") | ||
) | ||
|
||
ibex_example <- runIbex(ibex_example, | ||
chains = "Light", | ||
method = "encoder", | ||
encoder.model = "AE", | ||
encoder.input = "KF", | ||
reduction.name = "Light_AE_KF") | ||
|
||
expect_equal( | ||
ibex_example@reductions$Light_AE_KF@cell.embeddings, | ||
getdata("runIbex", "runIbex_Light_AE_KF_reduction") | ||
) | ||
|
||
ibex_example <- runIbex(ibex_example, | ||
chains = "Heavy", | ||
method = "encoder", | ||
encoder.model = "VAE", | ||
encoder.input = "OHE", | ||
reduction.name = "Heavy_VAE_OHE") | ||
|
||
expect_equal( | ||
ibex_example@reductions$Heavy_VAE_OHE@cell.embeddings, | ||
getdata("runIbex", "runIbex_Heavy_VAE_OHE_reduction") | ||
) | ||
|
||
}) |
Binary file not shown.
Binary file not shown.
Binary file not shown.