-
Notifications
You must be signed in to change notification settings - Fork 24
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
Error - zero dimension #2
Comments
Also I get this error: |
Dear Asmagen, Have you followed the gene name requirement as stated in the manual? ######################################################################### |
So for gene symbol ‘BRCA1’ I need to use ‘XXXX_BRCA1_YYYY’?
… On Apr 18, 2017, at 11:37 PM, GIS-SP-Group ***@***.***> wrote:
XXXX_HGNCGeneNames_YYYY
|
Correct. Sorry for the inconvenience and we will improve this in the next version. Huipeng |
The same issue still occurs. It doesn't have to do anything with the gene names. What can be done about it? |
Asmagen, Wonder if you followed the procedure in Vignettes. Please paste your script here. Huipeng |
library(RCA) construct data objectrownames(dataset$counts) = sapply(rownames(dataset$counts),function(v) paste('XXXX',v,'YYYY',sep='_')) filt out lowly expressed genesdata_obj = geneFilt(obj_in = data_obj); normalize gene expression datadata_obj = cellNormalize(data_obj,method='scQ'); log transform the datanormalized = dataTransform(data_obj,"log10"); project the expression data into Reference Component spacedata_obj = featureConstruct(normalized,method = "SelfProjection") generate cell clustersdata_obj = cellClust(data_obj,method="hclust",deepSplit_wgcna=environment$cluster.param2,min_group_Size_wgcna=2) cluster.association = data_obj$group_labels_color$groupLabel |
Hi, Asmagen, Could you provide the table of "normalized$fpkm_transformed" via email? It seems that the "featureConstruct" failed to select any features. Huipeng |
It’s unpublished data so I can’t. It doesn’t make much sense that the issue is specific to my dataset also.
… On Apr 23, 2017, at 7:25 PM, GIS-SP-Group ***@***.***> wrote:
Hi, Asmagen,
Could you provide the table of "normalized$fpkm_transformed" via email? It seems that the "featureConstruct" failed to select any features.
Huipeng
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#2 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AKxq8FgS0IzPG-WkjeEP9lWuQdLXoo3Hks5rzAgWgaJpZM4NAlE6>.
|
Ok, since your script works well on our data set, this issue is likely specific to your data set. Let me know if you are ok with sharing the following information, which might help us to figure out what's going on. dim(normalized$fpkm_raw) |
Sure.
dim(normalized$fpkm_raw)
[1] 14919 1441
dim(normalized$fpkm)
[1] 13389 1441
sum(normalized$geneFilter)
[1] 13389
dim(normalized$fpkm_transformed)
[1] 7724 1441
max(normalized$fpkm_transformed)
[1] 2.045323
min(normalized$fpkm_transformed)
[1] 0
… On Apr 23, 2017, at 8:00 PM, GIS-SP-Group ***@***.***> wrote:
Ok, since your script works well on our data set, this issue is likely specific to your data set.
Let me know if you are ok with sharing the following information, which might help us to figure out what's going on.
dim(normalized$fpkm_raw)
dim(normalized$fpkm)
sum(normalized$geneFilter)
dim(normalized$fpkm_transformed)
max(normalized$fpkm_transformed)
min(normalized$fpkm_transformed)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#2 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AKxq8DpI_GuTIVe5__9I7x_99QpkAV5Eks5rzBAygaJpZM4NAlE6>.
|
Any news? |
Dear Asmegen, My guess is that the size of your matrix is not compatible with some hard-coded parameters in the package. We need to explore more for a solid answer though. You could try to run the package with a randomly chosen subset (~500 cells) and see if the problem still exists. H |
Hello, The code has hard coded parameters that relate to the matrix size? How can it be resolved asap? |
Hi, Asmagen, We have tested our package on many data sets available on our side and it seems to work fine. We are indeed optimizing the package and will release the next version in the next couple of months. But to have a quick solution for you, we really need something to mimic the difficulty you encountered. We don't need to see your full raw data set. But if you could generate a fake set that could be representative of the original one, that would be great. Let me know how you think. H |
Attached a subset of the 3k pbmcs published as an example of the Seurat package. The RCA method didn't work for this public dataset as well. Please let me know what's the status when you have news. |
Hello, |
Hi, two guys. Thank you very much! |
Dear all, We have been testing the performance of RCA on multiple datasets on our side. For data sets from dropseq protocol, since they are usually under shallow sequencing, some of the cells might have very few expressed genes (FPKM or UMI count >0). This will cause some problem of RCA. So when running RCA for large data sets, please do a preliminary QC to filter out bad quality cells (with sum(FPKM>0) <=1000 or sum(FPKM>0)<=500, the same of UMI count data). Please let me know if more stringent QC would solve the problem. best |
Hello,
I get the following error after following the manual for a single-cell dataset I'm working with.
data_obj = featureConstruct(normalized,method = "SelfProjection")
Error in cor(fpkm_for_clust0, method = "pearson") :
'x' has a zero dimension
Why does it happen and how can I solve this?
Thanks, A
The text was updated successfully, but these errors were encountered: