Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nolanlab/citrus
Browse files Browse the repository at this point in the history
  • Loading branch information
nunarob committed Apr 29, 2015
2 parents 88140fe + 847f954 commit 0d308ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/citrus.plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ citrus.plotModelDifferentialFeatures.classification = function(differentialFeatu
nonzeroFeatureNames = differentialFeatures[[cvPoint]][["features"]]

# Write features to file for easy parsing
write.table(features[,nonzeroFeatureNames],file=file.path(modelOutputDirectory,paste("features_",cvPoint,".csv",sep="")),quote=F,sep=",")
write.csv(features[,nonzeroFeatureNames],file=file.path(modelOutputDirectory,paste("features_",cvPoint,".csv",sep="")),quote=F)

melted = melt(data.frame(features[,nonzeroFeatureNames,drop=F],labels=labels,check.names=F),id.vars="labels")

Expand All @@ -154,7 +154,7 @@ citrus.plotModelDifferentialFeatures.continuous = function(differentialFeatures,
nonzeroFeatureNames = differentialFeatures[[cvPoint]][["features"]]

# Write features to file for easy parsing
write.table(features[,nonzeroFeatureNames],file=file.path(modelOutputDirectory,paste("features_",cvPoint,".csv",sep="")),quote=F,sep=",")
write.csv(features[,nonzeroFeatureNames],file=file.path(modelOutputDirectory,paste("features_",cvPoint,".csv",sep="")),quote=F)

melted = melt(data.frame(features[,nonzeroFeatureNames,drop=F],labels=labels,check.names=F),id.vars="labels")

Expand Down

0 comments on commit 0d308ab

Please sign in to comment.