Code Monkey home page Code Monkey logo

Comments (7)

KyriakisDimitrios avatar KyriakisDimitrios commented on June 19, 2024

The same error as @kaizen89

R version 3.6.2 (2019-12-12)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

other attached packages:
[1] RColorBrewer_1.1-2   liger_0.5.0.9000     patchwork_1.0.0      Matrix_1.2-17        cowplot_1.0.0        SeuratWrappers_0.1.0
[7] Seurat_3.1.2        

Thanks

from seurat-wrappers.

dannyn66 avatar dannyn66 commented on June 19, 2024

Same error using the pbmcsca data set from SeuratData.

I just ran the following:
data("pbmcsca")
pbmcsca <- NormalizeData(pbmcsca)
pbmcsca <- FindVariableFeatures(pbmcsca)
pbmcsca <- ScaleData(pbmcsca, split.by = "Method", do.center = FALSE)
pbmcsca <- RunOptimizeALS(pbmcsca, k = 20, lambda = 5, split.by = "Method")
pbmcsca <- RunQuantileAlignSNF(pbmcsca, split.by = "Method")

R version 3.6.1 (2019-07-05)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Antergos Linux

other attached packages:
[1] liger_0.5.0.9000 patchwork_1.0.0 Matrix_1.2-17 cowplot_1.0.0 SeuratWrappers_0.1.0
[6] pbmcsca.SeuratData_3.0.0 pbmc3k.SeuratData_3.0.0 hcabm40k.SeuratData_3.0.0 SeuratData_0.2.1 Seurat_3.1.4

from seurat-wrappers.

lixin4306ren avatar lixin4306ren commented on June 19, 2024

got same error.

from seurat-wrappers.

ms-balzer avatar ms-balzer commented on June 19, 2024

same error

sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] SeuratWrappers_0.1.0 pbmcsca.SeuratData_3.0.0 ifnb.SeuratData_3.0.0 SeuratData_0.2.1 Seurat_3.1.2 liger_0.5.0.9000 patchwork_1.0.0
[8] Matrix_1.2-18 cowplot_1.0.0 devtools_2.2.1 usethis_1.5.1

from seurat-wrappers.

KyriakisDimitrios avatar KyriakisDimitrios commented on June 19, 2024

I just did not used the Wrapper in the end. Probably Liger updated the function and wrapper didn't udate it.
I used this and it worked. Then you can just transfer the projection to seurat object again

data.liger <- createLiger(sapply(ob.list, function(data) data[['RNA']]@counts[, colnames(data)]), remove.missing = F) 
data.liger <- liger::normalize(data.liger)
[email protected] <- var.genes
data.liger <- scaleNotCenter(data.liger)
data.liger <- optimizeALS(data.liger, k = k, lamda = lamda) 
data.liger <- quantileAlignSNF(data.liger, resolution = 1.2) 
data.liger <- runUMAP(data.liger, n_neighbors = n_neighbors, min_dist = 0.3) 

seurat_obj = ligerToSeurat(data.liger, use.liger.genes = T)

from seurat-wrappers.

mcap91 avatar mcap91 commented on June 19, 2024

Hi, I answered this here

welch-lab/liger#155

They have updated liger. you need to use liger 0.4.2 to have wrapper functionality, until the wrappers are updated.

from seurat-wrappers.

mojaveazure avatar mojaveazure commented on June 19, 2024

This was addressed in #41

from seurat-wrappers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.