From e7f2be2ab3194addd7404e4f8eca8e8fa5a7c766 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Thu, 24 Oct 2024 21:15:07 +0200 Subject: [PATCH] run styler --- R/Seurat.R | 3 --- 1 file changed, 3 deletions(-) diff --git a/R/Seurat.R b/R/Seurat.R index b0d31672..390d4513 100644 --- a/R/Seurat.R +++ b/R/Seurat.R @@ -746,7 +746,6 @@ from_Seurat_guess_obsms <- function(seurat_obj, assay_name) { # nolint obsm_mapping <- list() for (reduction_name in names(seurat_obj@reductions)) { - # Check if the dimreduc was calculated by the selected assay reduction <- seurat_obj@reductions[[reduction_name]] if (reduction@assay.used != assay_name) { @@ -769,7 +768,6 @@ from_Seurat_guess_varms <- function(seurat_obj, assay_name) { # nolint varm_mapping <- list() if ("pca" %in% names(seurat_obj@reductions)) { - # Check if the dimreduc was calculated by the selected assay reduction <- seurat_obj@reductions[[reduction]] if (reduction@assay.used != assay_name) { @@ -792,7 +790,6 @@ from_Seurat_guess_obsps <- function(seurat_obj, assay_name) { # nolint obsp_mapping <- list() for (graph_name in names(seurat_obj@graphs)) { - graph <- seurat_obj@graphs[[graph_name]] if (graph@assay.used != assay_name) {