-
Notifications
You must be signed in to change notification settings - Fork 18
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
A problem for batch effect removed data #42
Comments
Sorry for the delay, was busy and forgot to reply!
|
Hi, @MenghuaZhang86 , I also have problems as to how to prepare the input matrix for TooManyCells after using Harmony to remove the batch effect. Have you figured out a way? Also, Is it possible to use the Harmony embedding data as the input for TooManyCells? |
Thank you for your suggestions.
Thank you very much! @yinlisssss I still have several problems with it. Let us wait for the reply and try later :) |
I think with |
@GregorySchwartz I have tried the following script, but I do not know if
BTW, would you tell me how to plot the gene expression? I can check the result by checking the expression data. Thank you for your great help! |
Hopefully it looks good as I am not sure with the altered embeddings, but hey if it work then great! For gene expression, you can use the gene expression matrix and it should match the cell barcodes with the prior tree structure (with |
I successfully plotted the gene expression by the following script:
However, I have to note that I failed to create a complete expression I do not think this is a big problem, because I can do differential expression gene analysis in other software such as
Thank you very much! @yinlisssss I hope my description can help you. |
The error you received tells me that there may be something weird in the
|
When you say that it "still does not work", do you mean you get the same error? Did you try using a CSV as input instead of the cellranger input? With regards to negative values, in theory it should work but I am unsure if there may be circumstances that would mess up the spectral clustering and / or modularity calculation. |
Hello, I have tried TooManyCells in a single case(four samples from the same case), and the result looks very nice. So now I want to try it for multiple cases.
However, when I ran
make-tree
with the output ofcellranger
for 17 cases, I got a strange result. I guess it might be caused by the batch effect and I want to runmake-tree
with batch effect corrected data. I would like to know:Harmony
, which is integrated intoSeurat
pipeline. The data is in.rds
format and there is no expression data inharmony
result. So in this case, I would like to know how to prepare the input data formake-tree
.make-tree
halted without warning nor error message. I do not know if my guessing is correct, so I would like to know your comment.Thank you very much!
The text was updated successfully, but these errors were encountered: