"genomdat must be numeric" error form DNACopy package
1
0
Entering edit mode
perdomos • 0
@perdomos-8221
Last seen 9.2 years ago
France

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, batch.name=batch(cnSet3)[1])

oligo<-oligoset[[1]]

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

software error dnacopy crlmm • 1.5k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

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)

class(genomdat)

is.numeric(genomdat)

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

 

ADD COMMENT

Login before adding your answer.

Traffic: 462 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6