Question: "genomdat must be numeric" error form DNACopy package
gravatar for perdomos
4.5 years ago by
perdomos0 wrote:

I am having trouble creating a CNA object from a oligoSnpSet matrix after applying the crlmm package

I keep getting "genomdat must be numeric" error from my


oligoset<- OligoSetList(cnSet3,[1])


CNA.object <- CNA(genomdat=copyNumber(oligo),chrom=chromosome(oligo), maploc=position(oligo),data.type="logratio", sampleid = sampleNames(oligo))

dnacopy crlmm software error • 785 views
ADD COMMENTlink modified 4.4 years ago by James W. MacDonald52k • written 4.5 years ago by perdomos0
Answer: "genomdat must be numeric" error form DNACopy package
gravatar for James W. MacDonald
4.4 years ago by
United States
James W. MacDonald52k wrote:

You haven't given enough information for anybody to help you, but there is likely enough information for you to help yourself.

Note the error says 'genomdat must be numeric', and there is a genomdat argument to CNA(). This indicates that at least some of the data you are passing in are not numeric. In addition, the help for copyNumber() says that genomdat has to be a vector or matrix. The obvious thing to do is to explore what you are passing in for the genomdat argument

genomdat <- copyNumber(oligo)



You may need to coerce the output of copyNumber() to the correct format for CNA().


ADD COMMENTlink written 4.4 years ago by James W. MacDonald52k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 441 users visited in the last hour