honzee / RNAseqCNV

R package for large-scale CNV analysis from RNA-seq
MIT License
11 stars 8 forks source link

Error in DESeqDataSet: counts matrix should be numeric, currently it has mode: logical #9

Closed deb0612 closed 2 years ago

deb0612 commented 3 years ago

Dear sir, When I tried to use shiny app to analyze samples, it shows: Warning: Error in DESeqDataSet: counts matrix should be numeric, currently it has mode: logical [No stack trace available]

honzee commented 3 years ago

Dear deb0612,

thank you for trying out our package. I will look into the issue in the upcoming days and I will keep you updated.

Best, Jan

honzee commented 3 years ago

Dear deb0612,

the shiny application was lacking behind the rest of the package since the hg38 genome version was missing there. This was possibly causing your issues. In the latest commit, this has been changed. Therefore, I suggest trying to download the newer version of RNAseqCNV.

If your issues still persist, please do not hesitate to contatct me, since I always appreciate an opportunity to make the package better.

Best, Jan

deb0612 commented 3 years ago

Dear sir, I re-install the RNAseqCNV, and encountered the same error. Would you tell me how to download the latest version?

honzee commented 3 years ago

Have you tried using the wrapper function?

deb0612 commented 3 years ago

I don't really understand this function Could you show me how to use it?

honzee commented 3 years ago

Some examples are included in the README for this package. I copied some of it below:

Example

library(RNAseqCNV)

example of wrapper function

RNAseqCNV_wrapper(config = "path/to/config", metadata = "path/to/metadata", snv_format = "vcf", genome_version = "GRCh38")

For this to work, the input (config file, metadata table, count files and vcf files) need to be in a correct format. Please see the README for more information on the correct formating.

If this does not help, we will investigate further.

Best, Jan

deb0612 commented 3 years ago

Yes, I tried. It showed the same error: image

honzee commented 3 years ago

This function is generally used by the users without problems when the input is formatted accordingly to the package. So I suspect there might be an issue in the config file, the metadata file, or the count files.

If you would be willing to, you could try to send me the config file, the metadata file, and the first few lines of one of the count files. Maybe I could spot the issue that way.

Hope we get the package working for you, Jan

yueding1590049 commented 11 months ago

I do have the same problem, Error in DESeqDataSet(se, design = design, ignoreRank) : counts matrix should be numeric, currently it has mode: character

honzee commented 11 months ago

Hi,

thanks for contacting me. I think this is most likely caused by the count file formatting. You could send me the first few lines of your count files, so I could help you more easily.

Best, Jan