Added LinePlot used by Affy importer.
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user