Skip to content
Snippets Groups Projects
Commit 50dc2c0c authored by thierry Balliau's avatar thierry Balliau
Browse files

probleme rownames model.matrix (probablement issue de edgeR et pas de stats

parent 17a7dc7c
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ setMethod("priv.mcq.compute.contrast", signature(object="cmcq.metadata", Replic
if(Replicate){
selected_meta <- object@metadata[,c(flist, replicateName)]
# renaming column to be compatible with dicoexpress code
colnames(selected_meta)[colnames(selected_meta) == replicateName] <- "__Replicate"
colnames(selected_meta)[colnames(selected_meta) == replicateName] <- "Replicate"
}else{
selected_meta <- object@metadata[,c(flist)]
}
......@@ -391,6 +391,15 @@ setMethod("priv.mcq.compute.contrast", signature(object="cmcq.metadata", Replic
}
return(list("error"=error_list, "warning"=warning_list))
}
## function to get model matrix as df for exporting
priv.get.model.matrix <- function(object){
df.model.matrix <- as.data.frame(contrast@Model)
return(df.model.matrix)
}
#
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment