R/EntropyMUS.R

Defines functions EntropyMUS

Documented in EntropyMUS

EntropyMUS<-function(nameTF){
    require(MEET)
    musentropy<-new.env()
    data("MusEntropy",envir=musentropy)
	model<-new("Model")

    if (is.na(summary(paste("iicc",nameTF,sep="")==ls(envir=musentropy))["TRUE"])=="TRUE"){

        print("Transcription Factor not included")
        model<-NULL

    }else{
        r<-slot(model,"model")<-get(ls(envir=musentropy)[which(paste("iicc",nameTF,sep="")==ls(envir=musentropy))],envir=musentropy)
        r$model$Transcriptionfactor<-r$Transcriptionfactor
        slot(model,"model")<-r$model

}

    return(model)
    
}

Try the MEET package in your browser

Any scripts or data that you put into this service are public.

MEET documentation built on May 2, 2019, 5:52 p.m.