Added LinePlot used by Affy importer.

This commit is contained in:
2006-04-27 11:03:11 +00:00
parent c95c18eb14
commit 969006015a
2 changed files with 58 additions and 2 deletions

View File

@@ -216,7 +216,9 @@ class CelFileImportFunction(workflow.Function):
rpy.r.rm(["E", "m"])
if m:
return [dataset.Dataset(m, (('ids', rownames), ('filename', colnames)), name="AffyMatrix Data")]
data = dataset.Dataset(m, (('ids', rownames), ('filename', colnames)), name="AffyMatrix Data")
plot = plots.LinePlot(data, "Gene profiles")
return [data, plot]
else:
logger.log("notice", "No data loaded from importer.")
finally:
@@ -250,6 +252,6 @@ class PCAFunction(workflow.Function):
loading_plot1 = plots.ScatterPlot(P,'ids','component','1','2')
loading_plot2 = plots.ScatterPlot(P,'ids','component','3','4')
score_plot = plots.ScatterPlot(T,'filename','component','1','2')
score_plot = plots.ScatterPlot(T,'filename','component','1','2')
return [T, P, loading_plot1, loading_plot2, score_plot]