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

How to convert from python to R #8

Open
Fanyu000 opened this issue Mar 29, 2024 · 2 comments
Open

How to convert from python to R #8

Fanyu000 opened this issue Mar 29, 2024 · 2 comments

Comments

@Fanyu000
Copy link

Hi, I have finished scRNA-seq cell annotation in python with standardized pipeline.
I only want to compare the metabolism activity between 3 subtypes.
I want to know if
1.I should convert the h5ad file to seurat file format, and then follow the scRNA-seq pipeline.
2.Choose the pipeline option with only 1 sample?

@Fanyu000
Copy link
Author

I have completed covert the h5ad to seurat readable file format, and output a glucose uptake table based on my dataset.
image
And I aslo want to search for other metabolism pathways, such as fatty acid metabolism, should I change these codes

glucose<-data.frame(glucose=flux[grep("HMR_9034",rownames(flux)),])
glucose
cbrt <- function(x) {
sign(x) * abs(x)^(1/3)
}
glucose=cbrt(glucose)

to search for the metabolism pathways I'm interasted, then follow the same pipeline to acquire corresponding results?

Thanks :)

@LiuCanidk
Copy link

Hi, I think you have already proposed the solution by yourself.
Just change the label of different metabolic pathways to see the difference one by one if you already know what you are interested in.

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