Skip to content

Commit

Permalink
Update GENIE3 to use assays slot of hummus_objects
Browse files Browse the repository at this point in the history
  • Loading branch information
r-trimbour authored Jun 21, 2024
1 parent ae03cfe commit 25da3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/layers.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ compute_gene_network <- function(
verbose = verbose)

# infer network
weightMat <- GENIE3::GENIE3(as.matrix(hummus[[gene_assay]]@counts),
weightMat <- GENIE3::GENIE3(as.matrix(hummus@assays[[gene_assay]]@counts),
regulators = tfs,
nCores = number_cores)
# get edge list
Expand Down

0 comments on commit 25da3de

Please sign in to comment.