Mean_matrixstages11The names of the stages or categories of the input matrix. In the following example, the matrix has 5 stages.
The stages of this matrix are called:
1) Seedlings S
2) Juveniles J
3) Vegetative V
4) Reproductive individuals G
5) Dormant plants D
2014-07-31 14:00:37.437 UTC[S, J, V, G, D]2014-07-31 13:53:36.576 UTCyears11[1987, 1988, 1989, 1990, 1991, 1992]2014-07-31 14:01:41.735 UTCEach year represents a matrix and therefore characterizes a period of transition.
In this tutorial, we have 6 matrices (see Example Input data) that represent 6 years
e.g.: 1987 =data interval between 1987 and 1988 and
1988= data interval between 1988 and 1989 etc. 2014-08-14 13:45:22.856 UTCmean0the calculated mean matrix from a list of matrices2014-08-14 14:08:44.342 UTC S J V G D
S 0,002459698 0 0 2,227220728 0
J 0,067338404 0,004605797 0 3,194361412 0
V 0,173724733 0,609529672 0,715389978 0,466246955 0,831721022
G 0 0,012105466 0,025024746 0,454641283 0,096747612
D 0 0,011466467 0,032099956 0,0247669 0,071498017
2014-07-31 14:04:05.336 UTCRequestStageMatricesvalues_L1multiple0field0title0forceEqualNumberMatricesPerField0minMatricesPerField0matrices_LL22net.sf.taverna.t2.activitiesdataflow-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.dataflow.DataflowActivitynet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeReadStageMatrixmatrix_file0labels_L1matrix_Rn211net.sf.taverna.t2.activitiesdataflow-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.dataflow.DataflowActivitynet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Loopnet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeFlatten_Listinputlist2outputlist11net.sf.taverna.t2.activitieslocalworker-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.localworker.LocalworkerActivityinputlist2l(l(''))[Btrueoutputlist1l('')1workfloworg.embl.ebi.escience.scuflworkers.java.FlattenListnet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeConvert_LRn2_to_RLn2list_of_r_expressions2r_list_of_expressions11net.sf.taverna.t2.activitiesdataflow-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.dataflow.DataflowActivitynet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invokemean_calcmatrices1m11net.sf.taverna.t2.activitiesrshell-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.rshell.RshellActivitymatrices1falsem11falselocalhost6311falsefalsematricesR_EXPmR_EXPnet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.01002000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invokemultiplevalue00net.sf.taverna.t2.activitiesstringconstant-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.stringconstant.StringConstantActivityfalsenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeYearvalue00net.sf.taverna.t2.activitiesstringconstant-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.stringconstant.StringConstantActivityYearnet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeOutputFundamentalMatrix_3input1output00net.sf.taverna.t2.activitiesdataflow-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.dataflow.DataflowActivitynet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeSelect_a_matrixvalue00net.sf.taverna.t2.activitiesstringconstant-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.stringconstant.StringConstantActivitySelect a matrixnet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeforceEqualNumberMatricesPerFieldvalue00Boolean to force or not that the user introduces the same number of matrices in each field.
Possible values:
true => all elements should have the same number of matrices
false => the elements can have different number of matrices from one to anot2014-08-13 09:40:42.463 UTCnet.sf.taverna.t2.activitiesstringconstant-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.stringconstant.StringConstantActivityfalsenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeminMatricesPerFieldvalue00Minimum number of matrices per field2014-08-13 09:39:20.174 UTCnet.sf.taverna.t2.activitiesstringconstant-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.stringconstant.StringConstantActivity1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeRequestStageMatricesvalues_LRequestStageMatricesmultipleRequestStageMatricesfieldRequestStageMatricestitleRequestStageMatricesforceEqualNumberMatricesPerFieldRequestStageMatricesminMatricesPerFieldReadStageMatrixmatrix_fileReadStageMatrixlabels_LFlatten_ListinputlistConvert_LRn2_to_RLn2list_of_r_expressionsmean_calcmatricesOutputFundamentalMatrix_3inputmean9b80b070-a717-4de8-ad28-f6aecba0ed4a2014-01-22 15:36:19.385 UTCaf1ed12c-fb04-490c-9cd8-c9d37050acf32014-01-22 15:30:51.591 UTC57c200ac-9f18-49c8-81e0-73e35275df222014-02-04 12:40:15.97 UTCMaria Paula Balcazar-Vargas, Mikolaj Krzyzanowski, Jonathan Giddy, Francisco Quevedo and Gerard Oostermijer .2014-08-14 14:09:04.23 UTC0babaaa0-8442-4064-9607-96994e0078932014-01-30 12:41:59.713 UTC6f78ab7c-498a-47df-b4d4-734203b129de2014-01-30 12:44:46.92 UTCa2969a4c-2faf-448c-8de1-d7580e1f4a212014-05-21 12:40:51.765 UTC1dd5ce4f-4c1d-45d8-b4e1-81b41659f19e2014-01-30 14:22:33.751 UTC098dbce3-6f92-46cc-a6ff-83502f3065612014-01-30 14:02:39.207 UTCb925170a-0f46-4fc0-9dfd-b2abd93c28c92014-01-30 12:23:36.905 UTC7a912308-e318-4e70-b4a6-a0f676249f602014-08-14 13:45:24.219 UTCdf50d7f7-8e37-4649-bbfe-2f179541ea7d2014-01-30 12:26:33.170 UTCc3ddbb32-e035-4b70-9de5-1430f05039c02014-01-30 14:50:17.281 UTCf4b2c9ca-1cc2-4c24-a7fc-084d7d253b312014-01-30 12:32:54.963 UTCc54c44a3-8577-4bb0-b667-a2893b179cb82014-01-30 14:46:46.164 UTC18e8a0a7-3e1c-4d14-b0af-1ed6642778c52014-05-01 11:02:51.57 UTCc00162c6-aedc-4c4f-aeda-fc39d757e4462014-07-31 14:04:05.486 UTC085e1cfd-9e6d-461b-be83-97958fd74c302014-01-30 14:06:28.387 UTC4b09c6e5-5def-4c9a-8a1b-7dbff06e99652014-01-30 12:29:36.252 UTC3660a11a-23e6-4ae8-86c2-45652e978e502014-01-22 15:34:57.108 UTCf50211da-b3dc-4499-9694-05f33ab098872014-01-22 15:32:42.979 UTCe72bc4ea-d7aa-4b82-86bf-b31c783c83242014-01-30 12:19:46.292 UTC348f209f-f7de-42f1-9a56-9dcb19dc4ec22014-01-30 12:52:09.874 UTC2a5df240-9162-4827-abc7-3a7dfc4352d42014-02-04 12:38:51.424 UTC852d548d-e7d6-4fca-900d-69a0a96d0b9a2014-08-14 14:09:06.193 UTC352a165e-e1b7-4081-a39d-098cc18760d12014-01-30 12:25:41.905 UTC59b59c5c-1f95-47d8-89a9-47dc2a92dfa62014-01-30 13:06:46.694 UTC975cd586-3894-44b0-86b3-fbeecd2719622014-01-30 12:28:04.777 UTCc7fc79f1-1545-48da-a748-a2104f1714642014-01-30 12:41:13.191 UTCfbc4d358-ab9f-4863-9cbd-25a25434ab392014-01-30 12:20:41.104 UTC6fc10a03-a298-4faf-8841-00e3d4b26dee2014-01-30 12:43:53.718 UTC6097442f-eb20-41c9-885a-57944e60c6ec2014-01-30 14:42:39.118 UTC7858ebd2-e7ef-4d9f-9399-5238f390a4732014-01-30 13:52:14.782 UTCe22c8fc0-897d-4851-821a-b52c19f082282014-01-30 13:04:03.827 UTCfb493732-b6ed-41a1-bf8d-bb7de95eeb632014-01-30 14:41:39.801 UTC2202d36f-ba99-4c9a-8b5c-6a9c6f90297f2014-01-30 14:46:01.577 UTCabd83381-19d6-4e3e-92c6-37712176a7f72014-01-30 14:43:37.124 UTCc52d1dc4-54e8-4a1c-8f6b-55c448d6f3bd2014-01-30 14:44:52.348 UTC4a1a32c9-8ba1-4986-9829-b08bfd97cece2014-01-22 15:40:58.43 UTCThis mean matrix workflow estimates the mean matrix from a list of matrices.
This workflow has been created by the Biodiversity Virtual e-Laboratory (BioVeL http://www.biovel.eu/) project. BioVeL is funded by the EU’s Seventh Framework Program, grant no. 283359.
This workflow was created using and based on Package ‘popbio’ in R. (Stubben & Milligan 2007; Stubben, Milligan & Nantel 2011).
==================================================================================
Literature
Caswell, H. 2001. Matrix population models: Construction, analysis and interpretation, 2nd Edition. Sinauer Associates, Sunderland, Massachusetts.
Oostermeijer J.G.B., M.L. Brugman; E.R. de Boer; H.C.M. Den Nijs. 1996. Temporal and Spatial Variation in the Demography of Gentiana pneumonanthe, a Rare Perennial Herb. The Journal of Ecology, Vol. 84(2): 153-166.
Stubben, C & B. Milligan. 2007. Estimating and Analysing Demographic Models Using the popbio Package in R. Journal of Statistical Software 22 (11): 1-23
Stubben, C., B. Milligan, P. Nantel. 2011. Package ‘popbio’. Construction and analysis of matrix population models. Version 2.3.12014-07-31 13:51:01.640 UTCe7a10164-5590-46c4-9571-28ea6ec9c1072014-01-30 15:06:24.96 UTC79859115-dbbf-4703-bdb3-8246787293112014-02-19 14:45:20.806 UTCeafd9d19-c984-468f-8c6d-8d3e015e67b42014-01-22 15:33:59.286 UTCe70b6d4c-22db-499b-9aec-de59197747652014-01-30 14:40:54.996 UTC4cd83774-63ed-4c4b-a881-33529e3823cd2014-01-22 14:59:33.446 UTC2795ee06-1fd8-40ec-bdb6-cc7e4b07b0512014-02-05 15:42:37.81 UTC999450f5-0f2c-4340-858c-8833d1d172532014-08-14 14:08:45.745 UTC7b1f06d6-4d8d-49dc-ba61-bd9998b1ad582014-08-13 10:37:56.572 UTCMean matrix2014-07-31 13:49:59.577 UTCa9cc999a-9d86-4e48-9596-d1b8291102f02014-08-04 13:47:20.343 UTC19920aef-bdc0-4c4c-916a-3ae020cc77f92014-01-22 15:37:40.706 UTC5cad32e9-3dff-4f10-becb-2138b5494d9f2014-01-30 14:16:24.425 UTC8346d83d-96d0-4d4d-80f7-9912afacb0a12014-01-30 14:49:16.65 UTC6399b2c3-c7d2-467e-a0fe-36b1b480deff2014-01-30 12:31:27.856 UTC314f8085-951d-4f98-a4de-2f31ad1caa472014-08-13 10:35:37.795 UTC217d4dcf-1d99-4b1a-8d24-9c16ae5f69382014-01-30 13:26:10.134 UTCf081ac8e-6319-4878-a68c-f0a1b89baece2014-01-30 12:34:40.860 UTCf9fa6364-e0a6-478f-9f59-f4ce29d289812014-07-31 14:01:41.915 UTC22636a2d-46ec-4711-bad4-06a7edb4d8082014-07-31 13:51:01.800 UTCac80823a-6112-469c-9ed6-4f0d797d77652014-01-30 12:18:16.259 UTC785491ad-b0cd-4cc9-949b-d6277ea759272014-01-30 12:14:17.602 UTCConvert_Taverna_listlist_of_r_expressions22r_list_of_expressions1FlattenListOfStringsToStringstringlist1concatenated00net.sf.taverna.t2.activitieslocalworker-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.localworker.LocalworkerActivitystringlist1l('text/plain')java.lang.Stringtrueconcatenated00workfloworg.embl.ebi.escience.scuflworkers.java.StringListMergeUserNameHere2013-10-14 14:22:51.151 UTCnet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeCombineListOfStringsIntoRListstringlist1output11net.sf.taverna.t2.activitieslocalworker-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.localworker.LocalworkerActivitystringlist1l('text/plain')java.lang.Stringtrueoutput11workfloworg.embl.ebi.escience.scuflworkers.java.StringListMergeUserNameHere2013-10-14 14:21:14.818 UTCnet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeFlattenListOfStringsToStringstringlistCombineListOfStringsIntoRListstringlistr_list_of_expressionsConvert Taverna list of RExpr to R list2013-09-04 15:13:12.850 UTCJonathan Giddy2013-09-04 15:12:34.436 UTC472c6bef-15bc-4782-ab72-9e041b46e9d02013-10-14 14:28:56.870 UTC1ff54110-840d-474e-95a4-877c8f2c5b5e2013-09-04 15:26:02.821 UTC13112099-3efd-42a7-bf18-a93c89de52dd2013-09-04 15:30:31.850 UTCThis workflow accepts a Taverna list of arbitrary R expressions and returns a single R expression representing an R list containing the original expressions.
This workflow relies on the current Taverna behaviour of an R expression being represented by a list of strings containing the deparsed expression. If this changes, this workflow will likely break.
The first BeanShell converts each R expression (actually a list of strings) to a single string. This uses implicit iteration to do this for each R expression, so input port depth is 2 but the BeanShell input depth is 1.
The second Beanshell creates a comma-separated list of the deparsed R expressions and wraps the string with the R list() function. So now we have a single string s that can be turned into an R list using eval(parse(text=s)).
But RShell already does that parsing for us, so we just need to ensure the string looks like an R expression by turning it into a list of strings. So we actually output a 1-element list containing the string.
2013-10-14 14:28:55.280 UTCWorkflow188input11output0PrettyPrintRinput1output00net.sf.taverna.t2.activitiesrshell-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.rshell.RshellActivityinput1falseoutput00falselocalhost6311falsefalseinputR_EXPoutputTEXT_FILEnet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokePrettyPrintRinputoutputdeb0863c-b567-4755-af9c-b8b74d5e08e52013-06-21 14:31:25.529 UTC1c210d9a-059f-4c52-8df7-0310db5e211f2013-06-21 14:30:38.141 UTC3da1a855-6b93-4760-9496-19703d7ec3962014-01-22 14:29:59.616 UTCWorkflow3values_L11multiple00field00title00minMatricesPerField00forceEqualNumberMatricesPerField00matrices_LL2SelectMatricesInteractionvalues1multiple0field0title0message0forceEqualNumberMatricesPerField0minMatricesPerField0matrices22net.sf.taverna.t2.activitiesinteraction-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.interaction.InteractionActivityfield0text/plainjava.lang.Stringfalsevalues1text/plainjava.lang.Stringfalsemultiple0text/plainjava.lang.Stringfalsetitle0text/plainjava.lang.Stringfalsemessage0text/plainjava.lang.StringfalseforceEqualNumberMatricesPerField0text/plainjava.lang.StringfalseminMatricesPerField0text/plainjava.lang.Stringfalsematrices22http://biovel.googlecode.com/svn/tags/mpm-20140811/select_matrices.htmlLocallyPresentedHtmlfalsenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invokemessagevalue00net.sf.taverna.t2.activitiesstringconstant-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.stringconstant.StringConstantActivitySelect a matrix for each year, then click the Confirm button.net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeSelectMatricesInteractionvaluesSelectMatricesInteractionmultipleSelectMatricesInteractionfieldSelectMatricesInteractiontitleSelectMatricesInteractionmessageSelectMatricesInteractionforceEqualNumberMatricesPerFieldSelectMatricesInteractionminMatricesPerFieldmatrices_LL4dbc4a0b-5962-4f21-96d2-0fb20185b17a2014-01-16 11:25:38.561 UTC3682addc-6be9-4f7c-a61c-756ce05a2fdf2013-11-13 15:33:56.716 UTC1791ddd6-09f3-4609-83f3-1910f5d7d37f2014-05-01 11:02:46.628 UTC5f4b1899-ccf2-474b-b4fb-01a59e02f2642013-11-13 15:42:43.559 UTCf5456cef-7975-4376-a757-68764ae30f0e2014-08-13 10:35:34.505 UTCb5e0ea8e-2e1a-409c-aec7-3f4c72ed167a2013-11-13 15:32:49.843 UTC9973b049-ee79-4fd7-8a87-8cf191d9509f2013-10-28 15:04:57.615 UTC9b37bccc-b963-457b-9efc-66985cb5aba72014-05-21 12:39:57.735 UTC4a0bbebd-3357-48c7-ad1e-b5bcb7b6ec5c2013-11-13 13:50:35.668 UTC379602b6-1644-4b9f-a5bb-8161e03da77d2013-10-28 16:47:25.115 UTC249fb6a7-886e-4835-8b18-8bc293a6d77e2013-10-28 16:45:55.371 UTC47ab6f65-4bec-406a-8560-db17661b13f02014-08-13 10:35:20.302 UTC08912d22-d766-4700-9394-77b1ef8e3a092013-10-28 16:49:51.515 UTCe04e4d3f-c7c9-438c-bc0c-c9740084e9022013-11-13 13:50:47.718 UTC9b0bff5f-8571-46ca-932e-0804b8324dda2014-08-13 10:37:16.35 UTCReadStageMatrixlabels_L11matrix_file00matrix_Rn21Matrix_ReadFromFilematrix_file0labels1read_matrix11net.sf.taverna.t2.activitiesrshell-activity1.5-SNAPSHOTnet.sf.taverna.t2.activities.rshell.RshellActivitymatrix_file0falselabels1falseread_matrix11falselocalhost6311falsefalsematrix_fileTEXT_FILElabelsSTRING_LISTread_matrixR_EXPnet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.5-SNAPSHOTnet.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeMatrix_ReadFromFilematrix_fileMatrix_ReadFromFilelabelsmatrix_Rn2c8cf946f-3771-4321-870a-26408be164c72013-10-14 15:33:20.159 UTCReadStageMatrix2013-10-14 14:13:34.18 UTCa6ec62ed-cbc2-4705-812f-9fb8b80101692013-10-14 14:12:24.533 UTC6b5b9009-65c6-45a2-941f-188268b27c592013-10-14 14:13:35.986 UTC19c3521a-2d42-4f77-8dd2-10ab64286ef22013-10-15 13:59:10.98 UTC