Skip to content

Commit

Permalink
Stop using deprecated argument
Browse files Browse the repository at this point in the history
  • Loading branch information
agdenadel committed Feb 16, 2024
1 parent 70a6864 commit e6eade4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/callback.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ get_seurat_obj_with_knockoffs <- function(seurat_obj, assay = "RNA", verbose = T
message("Pulling data from Seurat object")
}
#seurat_obj_data <- as.data.frame(t(as.matrix(seurat_obj@assays$RNA@counts[Seurat::VariableFeatures(seurat_obj),])))

Check warning on line 27 in R/callback.R

View workflow job for this annotation

GitHub Actions / run-lint

file=/github/workspace/R/callback.R,line=27,col=4,[commented_code_linter] Commented code should be removed.

Check warning on line 27 in R/callback.R

View workflow job for this annotation

GitHub Actions / run-lint

file=/github/workspace/R/callback.R,line=27,col=81,[line_length_linter] Lines should not be more than 80 characters.
seurat_obj_data <- as.data.frame(t(as.matrix(Seurat::GetAssayData(seurat_obj, assay = assay, slot = "counts")[Seurat::VariableFeatures(seurat_obj), ])))
seurat_obj_data <- as.data.frame(t(as.matrix(Seurat::GetAssayData(seurat_obj, assay = assay, layer = "counts")[Seurat::VariableFeatures(seurat_obj), ])))

Check warning on line 28 in R/callback.R

View workflow job for this annotation

GitHub Actions / run-lint

file=/github/workspace/R/callback.R,line=28,col=81,[line_length_linter] Lines should not be more than 80 characters.

if (verbose) {
message("Computing MLE for zero-inflated poisson")
Expand Down

0 comments on commit e6eade4

Please sign in to comment.