Skip to content

Commit

Permalink
run styler
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Oct 24, 2024
1 parent a7da64b commit e7f2be2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/Seurat.R
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit e7f2be2

Please sign in to comment.