R/GetSelectedPatterns.R

Defines functions GetSelectedPatterns

Documented in GetSelectedPatterns

GetSelectedPatterns<-function(EBout){
    
    AllParti = EBout$AllParti
    Conditions = EBout$Conditions
    if (!is.factor(Conditions))
        Conditions = as.factor(Conditions)
    NumCond = nlevels(Conditions)
    CondLevels = levels(Conditions)
	colnames(AllParti) = CondLevels
	rownames(AllParti) = paste("Pattern",1:nrow(AllParti),sep="")
	AllParti
}
wiscstatman/EBSeq documentation built on June 3, 2023, 7:34 a.m.