This is a test version of Biostars. For the public version, visit https://www.biostars.org.
XHMM error: Error in heatmap.2(absCorrWithRemovedPC, Rowv = NA, Colv = NA, dendrogram = "none", :

bioinformatician

Hello ,everyone :

Can anyone have some suggests about this error, when I use XHMM draw the results in R..... `x' must be a numeric matrix

Thanks!

cnv xhmm r

What package/function did you use? (don't know what XHMM is...). How does your data looks like? What code did you use that lead to this error? Please provide as much information as possible, and ideally, a minimum reproducible example. Not clear this is a bioinformatics question.

(xhmm is a tool for finding structural variants in wes.) But OP should provide a lot more information here.

> XHMM_plots(PLOT_PATH,JOB_PREFICES,JOB_TARGETS_TO_GENES,SAMPLE_FEATURES)
Loading data from './DATA' XHMM run...
Read 2844 records
Read 7997 records
Reading 16 x 2844 named matrix
Reading 16 x 2420 named matrix
Read 0 records
Read 424 records
Reading 16 x 2420 named matrix
Reading 16 x 1 named matrix
Reading 16 x 16 named matrix
Read 1 record
Reading 16 x 2420 named matrix
Reading 16 x 2420 named matrix
Read 0 records
Read 0 records
Reading 16 x 2420 named matrix
Reading 16 x 2420 named matrix
Reading 16 x 2420 named matrix
Reading 16 x 2420 named matrix
Loading genes for dataset_1 targets
Error in heatmap.2(absCorrWithRemovedPC, Rowv = NA, Colv = NA, dendrogram = "none",  :
  `x' must be a numeric matrix

======================== I checked and compared the DATA files with other samples result, but the same step and parameter, it can run well in the other samples.....

I modified your post using the 101010 button for better readability. I also moved it to a comment, because it is no answer to your question.

Hello, maybe you have to load another library in R. library(gplots) library(plotrix) library(xhmmScripts) Try with these libraries loaded and maybe it will work. Regards Andrea

0 answers

No answers yet.

Log in to answer this question.