digitalcytometry / ecotyper

EcoTyper is a machine learning framework for large-scale identification of cell states and cellular ecosystems from gene expression data.
Other
181 stars 42 forks source link

cannot source function in R #13

Closed sailseem closed 2 years ago

sailseem commented 2 years ago

Dear developer, Well, i am trying to analyze bulk seq data in the website, after I uploaded the files, it always returned like this image

When I trying to use this in R, I cannot even source("EcoTyper_discovery_bulk.R"). My Rstudio died every time like this image

can you help me with this

BALuca commented 2 years ago

Hi,

I think you are encountering two separate issues. First, the website seems to be crashing with your data. I was wondering if you could send us the data to ecotyper.stanford@gmail.com, so that we can debug the problem. Second, the EcoTyper source code, although implemented in R, is designed to be run as a command line application, rather than being sourced. If you want to run it form RStudio, instead of running _source("EcoTyper_discoverybulk.R") in the Console tab, you would need to run it from the Terminal tab, using a command line similar to: Rscript EcoTyper_discovery_bulk.R -c config_discovery_bulk.yml. For more information on which EcoTyper command to run, and what command line arguments you need to provide, please check out our Tutorials on github: https://github.com/digitalcytometry/ecotyper#readme

Best, The EcoTyper team

sailseem commented 2 years ago

Thank you very much for your prompt and kind reply. I just sent my file via email for the questions.

Well, regarding question2, I still have some silly questions. Cause I am quite new to this, I find it's kind of difficult in installing packages in Terminal. Could you please tell me what's the command to install the right NMF package in terminal??? Sorry for these troubles, I know it's so silly.

BALuca commented 2 years ago

Thank you very much for the data. We sent you a reply regarding the website issue on email.

Regarding question 2, you don't need to install the packages in Terminal again. Once you installed all the required packages once in the console, they will be available when calling the script from the Terminal.

Best, The EcoTyper team