Here is what I tested:
>raw2 <- readCtData("/imppc/labs/lslab/share/data/raw_data/qPCR/qPCR_01/SDS_results/RT_qPCR_miRNA_01_plate1_2_3_180420.sdm-Result DataTableCentric.txt",
format="SDS",
n.features=1080,
n.data=1)
> show(raw2)
An object of class "qPCRset"
Size: 1080 features, 1 samples
Feature types:
Feature names: miR-24-3p miR-24-3p miR-24-3p ...
Feature classes:
Feature categories: OK, Undetermined
Sample names: /imppc/labs/lslab/share/data/raw_data/qPCR/qPCR_01/SDS_results/RT_qPCR_miRNA_01_plate1_2_3_180420.sdm-Result DataTableCentric ...
>sampleNames(raw2)
[1] "/imppc/labs/lslab/share/data/raw_data/qPCR/qPCR_01/SDS_results/RT_qPCR_miRNA_01_plate1_2_3_180420.sdm-Result DataTableCentric"
>sample.order3<-c(rep(rep(c("1","2","3","4"),6),3),
rep(rep(c("5","6","7","8"),6),3),
rep(rep(c("9","10","11","12"),6),3),
rep(rep(c("13","14","15","16"),6),3),
rep(rep(c("17","18","19","20"),6),3),
rep(rep(c("21","22","23","24"),6),3),
rep(rep(c("25","26","27","28"),6),3),
rep(rep(c("29","30","31","32"),6),3),
rep(rep(c("33","34","35","36"),6),3),
rep(rep(c("37","38","39","40"),6),3),
rep(rep(c("41","42","43","44"),6),3),
rep(rep(c("45","46","47","48"),6),3),
rep(rep(c("49","50","51","52"),6),3),
rep(rep(c("53","54","55","56"),6),3),
rep(rep(c("57","58","59","60"),6),3))
> raw3<-changeCtLayout(raw2,sample.order=as.vector(sample.order20))
Error in (function (storage.mode = c("lockedEnvironment", "environment", :
'AssayData' elements with different rowNames