-
Notifications
You must be signed in to change notification settings - Fork 20
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
MarkerBasedDecomposition overlapping genes error #38
Comments
Hi @nikita-telkar, Thank you for your interest in our method! That is odd, from what I can see in the dataframe screenshots, that error should not occur. Gene ordering does not matter either. The check for that error is running the following code and throws this error if the intersect length is zero:
This error could be occurring due to the first line if all the genes show up more than once in the markers dataframe. If this is not the case, you can try checking what the output of the second line is. Things like trailing whitespaces can make the intersection empty. Thanks, |
Hi @brandonjew , Thank you for replying! Yes, that's what I tried next:
Output: None of the genes were removed, but the list is empty
To ensure that the gene names do actually match, I transposed the bulk matrix (converting genes to column and rows to samples), and the gene names do match |
Looks like |
Hello,
I'm trying to run the MarkerBasedDecomposition function, but I keep getting the error: Error in MarkerBasedDecomposition(eNorm_bulk, cell_markers, weighted = F) : No overlapping genes between markers and bulk.eset
I've throughly checked the al genes within
cell_markers
are present in the bulk expression matrix, and are in the same order.My cell_markers dataframe
![image](https://private-user-images.githubusercontent.com/59856969/267513015-c80ccf29-b2fd-484c-9091-9103df41da84.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDEzMjQsIm5iZiI6MTczOTMwMTAyNCwicGF0aCI6Ii81OTg1Njk2OS8yNjc1MTMwMTUtYzgwY2NmMjktYjJmZC00ODRjLTkwOTEtOTEwM2RmNDFkYTg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE5MTAyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNmYTZlYzM5YzFhMzhlOTkyNTkwNzBlMDdiMTlhZTQzN2E3ZWJkNThlM2NjZDNlZGYyNmNmYjliNDIzODBkMmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.X2sq5NFwQW3Z3qnRuCMyey6XMIcjieEQcTYNcpj2vyE)
My bulk expression matrix (from an ExpressionSet assay, stored under
![image](https://private-user-images.githubusercontent.com/59856969/267513831-f880dab7-0287-46f6-9733-44f32a328e71.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDEzMjQsIm5iZiI6MTczOTMwMTAyNCwicGF0aCI6Ii81OTg1Njk2OS8yNjc1MTM4MzEtZjg4MGRhYjctMDI4Ny00NmY2LTk3MzMtNDRmMzJhMzI4ZTcxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE5MTAyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc0ZmJiMTYzNDM0NjYwMzFlMzE5NWIyOTA1NjVmYWNhNDc2NzBmNmVhZTA0MzY1ZDZjNGUwMTViZjBkMzU1ZGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.60sCVhsjNioIlUIAg-3FSWt4fyoC-edfByfvmAJ5Dnc)
eNorm_bulk@assayData[["exprs"]]
)I'm not sure how to proceed.
Thank you!
The text was updated successfully, but these errors were encountered: