Entering edit mode
Nghia
•
0
@nghia-25186
Last seen 3.6 years ago
Hi, I've been having trouble importing qPCR data in the SDS format. What could this error be caused by?
Importing the SDS_sample.txt from the HTqPCR example data works as expected.
Many thanks!
> debug <- readCtData(files = "debug.txt",
+ path = "./debug",
+ format = "SDS"
+ )
Error in X[, cols] <- apply(data, 2, function(x) as.numeric(as.character(x))) :
number of items to replace is not a multiple of replacement length
> sessionInfo()
R version 4.0.5 (2021-03-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 21343)
Matrix products: default
locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252
[3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
[5] LC_TIME=English_Australia.1252
system code page: 932
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods base
other attached packages:
[1] HTqPCR_1.44.0 limma_3.46.0 RColorBrewer_1.1-2 Biobase_2.50.0
[5] BiocGenerics_0.36.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.6 gtools_3.8.2 bitops_1.0-6 cellranger_1.1.0
[5] affy_1.68.0 stats4_4.0.5 KernSmooth_2.23-18 gplots_3.1.1
[9] zlibbioc_1.36.0 readxl_1.3.1 affyio_1.60.0 preprocessCore_1.52.1
[13] tools_4.0.5 compiler_4.0.5 BiocManager_1.30.12 caTools_1.18.2
>