Skip to content

jingshuw/sctransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The supporting Python package of SAVER-X

This package is designed to be used by the R code of SAVER-X. It contains simplified code from the python dca package and the new Python code for transfer learning.

One can also use this Python package for pre-training using public data. Instructions on pre-training will come out soon.

Installation:

pip install sctransfer

The package only supports Python (>=3.5).

Update: the package now works with tensorflow 2

Update: the package requires tensorflow version <=2.2.0 and keras version <=2.3.0.

Update: the package has been updated to work with the newer version of scanpy.

To test whether the installation is successful or not, you can try with the following code. The mtx file for testing can be downloaded here

import sctransfer.api as api
api.autoencode(mtx_file = "shekhar_downsampled.mtx")

About

Supporting Python package for SAVER-X

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages