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

Feature Request: DoHeatmap is slowly,may be faster #9768

Open
Liripo opened this issue Mar 21, 2025 · 1 comment
Open

Feature Request: DoHeatmap is slowly,may be faster #9768

Liripo opened this issue Mar 21, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Liripo
Copy link

Liripo commented Mar 21, 2025

Motivation

Doheatmap drawing takes more than 5 seconds

Feature Description

I found it very slow when running Doheatmap, and found that the main reason was that it was slow to get the gene name of scale.data
Image

code is

possible.features <- rownames(x = GetAssayData(object = object, slot = slot))

My scale.data has 2w gengs, 4w cells. Get only the gene name, which should be faster.

Alternatives

No response

@Liripo Liripo added the enhancement New feature or request label Mar 21, 2025
@Liripo
Copy link
Author

Liripo commented Mar 21, 2025

Can it be directly changed to:

possible.features <- Features(x = object, layer = layer)

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

No branches or pull requests

1 participant