Skip to content

Commit

Permalink
Update limiric_calculation.R
Browse files Browse the repository at this point in the history
  • Loading branch information
AlicenJoyHenning authored Aug 18, 2024
1 parent b4216df commit 45389d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/limiric_calculation.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ limiric_calculation <- function(organism,

# Calculate complexity
seurat_matrix <- Seurat::GetAssayData(limiric, layer = "data")
cat("problem\n")

cat("Dimensions of seurat_matrix:", dim(seurat_matrix), "\n")
cat("Structure of seurat_matrix:\n")
str(seurat_matrix)

complexity_metric <- colSums(seurat_matrix > 0)
limiric$complexity <- complexity_metric

Expand Down

0 comments on commit 45389d1

Please sign in to comment.