Skip to content
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 when using buildSignatureMatrixMAST() #7

Open
RK1912 opened this issue Feb 16, 2021 · 2 comments
Open

Error when using buildSignatureMatrixMAST() #7

RK1912 opened this issue Feb 16, 2021 · 2 comments

Comments

@RK1912
Copy link

RK1912 commented Feb 16, 2021

Hi
I am using the buildSignatureMatrixMAST() function and I am getting the following error :

This is the traceback :

Error in dimnames(x) <- dn : 
  length of 'dimnames' [2] not equal to array extent 
3.
`colnames<-`(`*tmp*`, value = unique(id)) 
2.
`colnames<-`(`*tmp*`, value = unique(id)) at Deconvolution_functions.R#384
1.
buildSignatureMatrixMAST(scdata = data, id = as.character(phenodata$cellType), 
    path = ".", diff.cutoff = 0.5, pval.cutoff = 0.01) 

The scdata is a gene x cell name matrix .
id is the cell type that each of the cell belongs to .

Please help me fix this error !

Thanks ,
RK

@RK1912
Copy link
Author

RK1912 commented Feb 19, 2021

Hi
After investigating the script , I realized that there are no differentially expressed genes identified out of 18 cell types. All the "_MIST.Rdata" files show 0 observations. My data are Log2CPM values.
I have a few questions :

  1. what is the best data transformation to use for dwls ? ( raw counts , CPM, etc)
  2. I did not get any genes even after increasing the p-val cutoffs. So how can I get this data ?

Thanks,
RK

@sumanm99
Copy link

sumanm99 commented May 8, 2022

2. I did not get any genes even after increasing the p-val cutoffs. So how can I get this data ?

Following. I am facing similar issues too and I have the same doubts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants