CNAnorm Error in addDNACopy -> arguments imply differing number of rows...
0
0
Entering edit mode
karim • 0
@karim-11433
Last seen 8.2 years ago

Hey together,

I started to use CNAnorm in R and sometimes I got this Error:

CN <- addDNACopy(CN)
Error in (function(...,row.names = NULL, check.rows = FALSE, check.names = TRUE,   :
arguments imply differing number of rows: 303, 301

after I done this:

library(CNAnorm)
set.seed(31)
sample <- read.table("sample.tab", header=TRUE)
CN <- dataFrame2object(sample)
CN <- addDNACopy(CN)

any ideas how I can solve that problem or why that error appears? Can I just delete 2 Rows?

Thanks for help!

cnanorm addDNACopy Error • 1.7k views
ADD COMMENT
1
Entering edit mode

Hi.

I have tried the following

library(CNAnorm)
data(LS041)
sample <- LS041
CN <- dataFrame2object(sample)
CN <- addDNACopy(CN)

And I don't get any error.

I suspect there is something "strange" with your input data.

what is the output of

head(sample)
tail(sample)
unique(sample$Chr)

How have you created that file?

ADD REPLY

Login before adding your answer.

Traffic: 755 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