Closed rosana-garrido closed 3 years ago
Thank you for using BRETIGEA and for posting this!
Can you please post the output of str(rownames(aggregatedMarkerExpression))
? I just want to make sure that the rownames are in the right format to correspond to the marker genes (although I expect that they are).
And are all of your columns numeric? You can check this via:
sum(!sapply(aggregatedMarkerExpression, is.numeric))
The result should be 0 if all of the columns are numeric.
If these are both as expected I will dig deeper into what could be causing this. I'm sorry about the ambiguity of this error; BRETIGEA needs better error reporting about what is going on here.
Hi! Thank you for your quick support.
Row names are set to human gene names, in capital letters. I believe this might be the problem.
Cheers, Ros
str(rownames(aggregatedMarkerExpression))
chr [1:827] "ABCD3" "ABHD3" "AC004158.3" "ACAT2" "ACTB" "ACTG1" "ACTL6A" ...
sum(!sapply(aggregatedMarkerExpression, is.numeric))
[1] 0
Hi Ros,
Thanks for posting that. It looks to me like neither of those things is the reason for your error. Can you please post a link here or send me an email (amckenz at gmail) with a reproducible example of your code so that I can do further debugging?
Thank you!
Hi Andy,
Find my code here. Feel free to contact me at rgarrido@ebi.ac.uk for further info.
Thanks, Ros
Hi! I know this thread was posted a while back, but would it be possible to get more information on how this issue was resolved? I seem to be having the same issue using BRETIGEA.
Any info would be greatly appreciated :)
Thanks, Jun
Hi JunnnLee,
Thanks for using BRETIGEA. I wasn't able to reproduce the error with the data provided. I believe that this was resolved by changing the format of the input matrix. Can you post or send me an email (amckenz at g mail) with a subset of your data for the analysis? I will re-open this issue for now in case it is still a problem for you.
Hi Andy,
Thank you for the reply. I was able to solve the issue not long after posting the question. It turns out I had a couple of NA strings hiding in my input matrix. The package worked as intended after I changed all of these NAs to 0.
Thank you! Jun
Hello! I am using BRETIGEA to annotate a single-cell expression matrix from brain organoid data and I am unable to run the brainCells() function. My input matrix does have the same structure as your example one.
I would strongly appreciate some technical support on that!
Thank you, Ros
str(aba_marker_expression, list.len = 5)
str(aggregatedMarkerExpression, list.len = 5)
ct_res = brainCells(aggregatedMarkerExpression, nMarker = 50)