Hi,
I think I have ran into a problem when I was using sciClone in order to generate a 2d plot. I have my bam files which have been processed by varscan somatic and I got the snp and indel files. After doing somatic filter and processsomatic, I put the data in somatic file to sciClone. As I have 2 samples, I instruct the program to read 2 set of snv data and copynumber data.The data format for the snv file looks like this
Chromosome position tumor_read1 tumor_read2 vaf_precentage
Chr 1 10011 8 4 30
Chr 2 12331 6 3 25
...
Chr Y
However, when I using sciClone in order to generate the plot and cluster file, I got the following error:
Error in data.frame(..., check.names = FALSE) :
arguments imply differing number of rows: 7, 0
In addition: Warning message:
In max(marginalClust[[i]]$cluster.assignments, na.rm = T) :
no non-missing arguments to max; returning -Inf
I am really new to R and if I have asked a stupid question, please forgive me.
Thanks
Please provide the following info, and I'll be happy to take a look: 1) the exact R commands that you're trying to run, 2) the first few lines of your input files
Thank you Chris,
R-code:
The first few lines of my input files are SNV for sample 1:
and for copynumber sample1
However, I noticed that when I open the copynumber file the file cannot be completely load as it has way to many records (I use excel to open it) so will that be a possible reason to have those error messages?
Thanks
Is there any output above the error message you pasted? Maybe something like:
ERROR: only N points - not enough points to cluster when using 7 intialClusters. Provide more data or reduce your maximumClusters option
I use 10, which is the default and 7 for the cluster, it shows
(I miss that, sorry)