-
Notifications
You must be signed in to change notification settings - Fork 4
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 create a Delorean object #5
Comments
Dear Developers, Would you happen to have a piece of script that I can use to set up a delorean object and then I can try running the rest. I will be sure to cite this nice package. |
Thanks for your interest ;) Basically you need 3 objects to run DeLorean, a matrix of the expression values, a data frame for the gene meta data (can be minimal) and a data frame for the cell meta data. Look at I hope that helps. |
Dear John, I could try yesterday and now again. Error in de.lorean(sce.expr, sce.gene.meta, sce.cell.meta) : I looked at my own expr matrix (shorter subset of 132 cells in columns and 17745 genes in rows) and other files for quo, kouno and windram datasets. At least my eyes cant see what could be wrong. Would it be worth sending over the 3 files? In case you ever had time to check it out whenever you back to DeLorean again. Once I get it running I normally okay with it. |
If you send over a small working example of what goes wrong I can definitely help. |
Hi, I send over the 3 files. I started with a small subset to get it up and running and then try with the full sample. The tutorials work for me here. I guess all is installed correctly. It might just be the small "devil is in the detail" that brings up the error. |
I need the actual R objects not the CSV files. The problem is that your |
If I check:
I attach the matrix here too as a zip. Thanks a lot. |
A |
I used the following: I tried also other ways: I checked the class of each of these and they were still as a data frame. In the first one at the top that worked...when I run it, i get: Error in de.lorean(expr, sce.gene.meta, sce.cell.meta) : |
That is progress. The error says that the |
The matrix that is made, in the very first column (inserted before genes) there are added incremental numbers that fill all the way down to the end of the gene column. I believe the first new column added should not be there. This makes the new matrix one column larger than the info in the cell meta data. I have been trying something simple where the first column in the matrix can be ignored or deleted. I cant seem to chop it off. My R skills might have reached the maximum. But looking around for functions that delete the first column on the new matrix. |
You can drop the first column of a matrix |
this works. when I was saving it and checking it as a .csv the original with extra was showing up. I still get the error: |
I would either ask someone who knows R to help a little bit or use the GrandPrix package. |
I will do that. There is someone here using monocle so perhaps thats an alternative once they have some time. |
No description provided.
The text was updated successfully, but these errors were encountered: