R/extract_features_rf_boruta.R

extract_features_rf_boruta <-
function(res,SUBDIR=NULL) {
		featmat <- extract_feat_boruta(res)
		featmat_aligned <- align_feat_boruta(res)
		if(!is.null(SUBDIR)) {
			write.csv(featmat, file=paste(SUBDIR, "featurematrix.csv", sep="/"))
			write.csv(featmat_aligned, file=paste(SUBDIR, "featurematrix_aligned.csv", sep="/"))
		}
		invisible(list(featmat=featmat, featmat_aligned=featmat_aligned))
	}

Try the bootfs package in your browser

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

bootfs documentation built on May 2, 2019, 5:50 p.m.