Git Product home page Git Product logo

sckirby's Introduction

Automated ingestion and conversion of various single-cell data formats


License: GPL (>= 3)
R build status

Authors: Brian Schilder

Most recent update: Sep-13-2023

Intro

There’s a lot of single-cell omics file/object formats out there, and not all tools support all of these formats. scKirby aims to make switching between these formats much easier by running several steps within a single function: ingest_data(). Alternatively, users can run any of these steps separately using the designated sub-functions.

  1. Read: Automatically infers the file/object type and loads it (sub-function: read_data()).
  2. Convert: Converts it to the desired file/object type (sub-function: to_<format>).
  3. Save: Saves the converted file/object (sub-function: save_data()).

i/o formats

Supported input formats

Supported output formats

Planned output formats

Notes:

  • For exporting to additional formats, see these following packages:
  • Currently, some (but not all) conversions carry over:
    • Multiple assays per experiment.
    • Additional objects like dimensionality reduction projections (e.g. PCA, tSNE, UMAP) or graphs (e.g. K-nearest neighbors). This feature will be added in the future.

Installation

if(!require("remotes")) install.packages("remotes")

remotes::install_github("neurogenomics/scKirby")

Conda environments

Updating Seurat objects

Seurat’s UpdateSeuratObject() can only update objects from the version immediately previous to the version of Seurat you currently have installed (e.g. Seurat v2 –> v3). This means you can’t import an object created in Seurat v1 and directly upgrade it to Seurat v3. We have provided yaml files when can be used to create separate envs for each version of Seurat here.

For more details, see the scKirby conda env tutorial.

Session Info

utils::sessionInfo()
## R version 4.2.1 (2022-06-23)
## Platform: x86_64-apple-darwin17.0 (64-bit)
## Running under: macOS Big Sur ... 10.16
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRblas.0.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/4.2/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     
## 
## loaded via a namespace (and not attached):
##  [1] pillar_1.9.0        compiler_4.2.1      RColorBrewer_1.1-3 
##  [4] BiocManager_1.30.20 yulab.utils_0.0.6   tools_4.2.1        
##  [7] digest_0.6.31       jsonlite_1.8.4      evaluate_0.21      
## [10] lifecycle_1.0.3     tibble_3.2.1        gtable_0.3.3       
## [13] pkgconfig_2.0.3     rlang_1.1.1         cli_3.6.1          
## [16] rstudioapi_0.14     rvcheck_0.2.1       yaml_2.3.7         
## [19] xfun_0.40           fastmap_1.1.1       dplyr_1.1.2        
## [22] knitr_1.44          generics_0.1.3      desc_1.4.2         
## [25] vctrs_0.6.3         dlstats_0.1.7       rprojroot_2.0.3    
## [28] grid_4.2.1          tidyselect_1.2.0    here_1.0.1         
## [31] data.table_1.14.8   glue_1.6.2          R6_2.5.1           
## [34] fansi_1.0.4         rmarkdown_2.22      ggplot2_3.4.2      
## [37] badger_0.2.3        magrittr_2.0.3      scales_1.2.1       
## [40] htmltools_0.5.5     rworkflows_0.99.13  colorspace_2.1-0   
## [43] renv_0.17.3         utf8_1.2.3          munsell_0.5.0

sckirby's People

Contributors

bschilder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

eduff

sckirby's Issues

Create Docker Image for scKirby

Hey,

Myself and Maria have had issues installing scKirby using conda on the HPC (installing from github after installing all dependencies from it on conda). Might be worthwhile creating a docker image for it? Or if you have a method to use it with conda that would be great to know either.

Thanks!

Convert SE --> SCE --> Seurat

Seurat::as.Seurat() doesn't know how to convert SummarizedExperiments directly to Seurat objects.
Instead, will have to convert to SingleCellExperiment as an intermediate first.

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.