This is a test version of Biostars. For the public version, visit https://www.biostars.org.
DNAcopy package use to find the copy number

I want to generate CNA object for DNAcopy.

CNA.object<- CNA(snapCGH::: log2ratios(ma), ma$ProbeName, ma$ChrName,ma$Start,ma$Stop, sampleid = colnames(ma$OC1405,ma$OC1663)

But it gives me this error

error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), :

'data' must be of a vector type, was 'NULL'

please tell me how to rectify this..

r

You most likely have specified a column name incorrectly, but it really is not possible without a reproducible example. You seem to be using R for your analysis, so I would suggest taking a course on R and finding a local R person to help you out.

Hello Sean Davis

Yes you are right I have not specified columns properly. Now I got my result

Thank You

0 answers

No answers yet.

Log in to answer this question.