Skip to content

Commit 4e85b3a

Browse files
Merge pull request #10 from ncborcherding/main
Reproducible eplet and creg internal data
2 parents d0717ff + ea5533e commit 4e85b3a

14 files changed

Lines changed: 733 additions & 379 deletions

NAMESPACE

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ export(plotSAB)
1313
export(quantifyEpletMismatch)
1414
export(quantifyMismatch)
1515
export(serologyAUC)
16+
export(spiDeconvolute)
1617
importFrom(data.table,`:=`)
1718
importFrom(data.table,as.data.table)
19+
importFrom(data.table,copy)
1820
importFrom(data.table,data.table)
21+
importFrom(data.table,dcast)
22+
importFrom(data.table,fcase)
1923
importFrom(data.table,fifelse)
2024
importFrom(data.table,rbindlist)
2125
importFrom(data.table,set)
@@ -71,6 +75,8 @@ importFrom(pracma,trapz)
7175
importFrom(purrr,map2_chr)
7276
importFrom(purrr,map_dfr)
7377
importFrom(readxl,read_excel)
78+
importFrom(stats,mad)
79+
importFrom(stats,median)
7480
importFrom(stringr,str_c)
7581
importFrom(stringr,str_extract)
7682
importFrom(tibble,as_tibble)
@@ -84,13 +90,5 @@ importFrom(treemapify,geom_treemap_text)
8490
importFrom(utils,data)
8591
importFrom(utils,globalVariables)
8692
importFrom(utils,head)
87-
importFrom(utils,read.csv)
88-
export(spiDeconvolute)
89-
importFrom(data.table,as.data.table)
90-
importFrom(data.table,copy)
91-
importFrom(data.table,dcast)
92-
importFrom(data.table,fcase)
93-
importFrom(data.table,rbindlist)
94-
importFrom(stats,mad)
95-
importFrom(stats,median)
9693
importFrom(utils,modifyList)
94+
importFrom(utils,read.csv)

R/calculateAuc.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ calculateAUC <- function(result_file,
7272
)
7373
} else if (tolower(analysis_type) == "creg") {
7474
config <- list(
75-
feature_col = "creg",
75+
feature_col = "CREG",
7676
data = deepMatchR::deepMatchR_cregs,
77-
default_group_by = "creg"
77+
default_group_by = "CREG"
7878
)
7979
} else if (tolower(analysis_type) == "serology") {
8080
config <- list(

R/cregAuc.R

Lines changed: 0 additions & 106 deletions
This file was deleted.

R/deepMatchR_SABModelparams.R

Lines changed: 0 additions & 10 deletions
This file was deleted.

R/epletAuc.R

Lines changed: 0 additions & 133 deletions
This file was deleted.

R/utils.R

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -360,12 +360,4 @@ if(getRversion() >= "2.15.1") {
360360
]
361361

362362
return(sorted_levels)
363-
}
364-
365-
#' @importFrom keras3 load_model
366-
.loadModel <- function(chain, class) {
367-
select <- system.file("extdata", paste0(class, "_encoder.keras"),
368-
package = "deepMatchR")
369-
model <- load_model(select, compile = FALSE)
370-
return(model)
371-
}
363+
}

0 commit comments

Comments
 (0)