mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 10:47:25 +01:00
Fix some package issues
This commit is contained in:
parent
599f09a52f
commit
f2bc4318a2
3 changed files with 6 additions and 4 deletions
|
|
@ -133,7 +133,10 @@ neural <- function(preset, progress = NULL, seed = 49641) {
|
|||
colnames(data_matrix) <- NULL
|
||||
data_matrix <- keras::normalize(data_matrix)
|
||||
|
||||
data[gene %chin% gene_ids, score := predict(model, data_matrix)]
|
||||
data[
|
||||
gene %chin% gene_ids,
|
||||
score := stats::predict(model, data_matrix)
|
||||
]
|
||||
|
||||
if (!is.null(progress)) {
|
||||
progress_buffer <<- progress_buffer + progress_step
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue