R/QresidualsMUS.R

QresidualsMUS<-function(nameTF){
    require("MEET")
    musQresiduals<-new.env()
    data("MusQresiduals",envir=musQresiduals)
	model<-new("Model")
    
    if (is.na(summary(names(get(ls(envir=musQresiduals)[1],envir=musQresiduals))==nameTF)["TRUE"])=="TRUE"){

        print("Transcription Factor not included")

    }else{

        slot(model,"model")<-get(ls(envir=musQresiduals)[1],envir=musQresiduals)[[nameTF]]

    }

    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, 1:45 p.m.