Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the code for use of the new datas? #8

Open
forestlin7 opened this issue Jul 1, 2021 · 1 comment
Open

the code for use of the new datas? #8

forestlin7 opened this issue Jul 1, 2021 · 1 comment

Comments

@forestlin7
Copy link

If i want to use a new data, how can i change from .txt to .mtx in geo?

@Jerry001
Copy link
Contributor

Hi forestlin7,

mtx files are not necessary. Here we use sparse matrix to only to save space.

mtx = data_dir + 'uc_epi.mtx'
x = read_mtx(mtx)
x = x.transpose().todense()

Also, for computational efficiency, we currently use highly variable genes (~2000, still a random number) for analysis.

Jiarui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants