
useDynLib(SFSI, .registration=TRUE)

export(path.plot)
export(SSI)
export(SSI.CV)
export(getGenCov)
export(collect)
export(cov2dist)
export(cov2cor2)
export(LARS)
export(readBinary)
export(saveBinary)
export(solveEN)
export(fitBLUP)
export(Prune)
export(net)
export(multitrait.plot)

#Actually we are not using S4 methods...
#exportMethods(SFSI)
S3method(coef,SSI)
S3method(coef,LASSO)
S3method(fitted,SSI)
S3method(fitted,LASSO)
S3method(plot,SSI)
S3method(plot, net)
S3method(summary,SSI)

import(ggplot2)
importFrom(tensorEVD,Kronecker,Kronecker_cov)
importFrom(parallel,mclapply)
importFrom(reshape2,melt)
importFrom(viridis,scale_color_viridis)
importFrom(igraph,make_empty_graph,add_edges,layout_with_fr)
importFrom(stats,cor,var,predict,smooth.spline,IQR,model.matrix,runif,sd,fitted)
importFrom(utils,setTxtProgressBar,txtProgressBar,object.size)
importFrom(scales,extended_breaks)
