我需要帮助编辑最初开发用于从 Logistic 4P 模型(拟合曲线平台)中提取微生物生长参数的脚本。 我想编辑脚本以从每个处理“应变、媒体、复制”中提取参数,查看我想要的所需输出。 我显然在脚本中遗漏了一些重要的语言,但我不清楚如何做到这一点。 脚本答案会很棒! 请帮忙!
这是我得到的错误:
“'r[Outline Box(Parameter Estimates”),Number Col Box("Estimate",1)]', r]/*###*/Outline Box("Parameter Estimates") 的访问或评估中的下标问题, Number Col Box(“估计”,1)]
我想编辑的脚本 - “提取关键值”
所需输出表的脚本 - “所需输出”
提取临界值
Names Default To Here(1);
// Determine coefficients of Logistic 4P model, for estimation of growth parameters.
// This assumes that the current data table contains the data of interest, and that:
// the column containing the time values is labeled "Time (h)"
// the column containing the data values is labeled "Ln OD600"
// the column containing “strain” and “media” and “replicate” are grouping columns
//
// The names can be changed in the lines below,
// or the code can be changed to add a file dialog and a column selection,
// or the code can be changed to loop through multiple Y columns.
// First step: Fit Logistic 4P curve to data, store results in object Test.
Test = Fit Curve(
Y( :Ln OD600 ),
X( :Name( "Time (h)" ) ),
By( :Strain, :Media, :Replicate ),
Fit Logistic 4P
);
// 2nd step: Send report to variable r.
r = Test<<REPORT></REPORT>
</CODE></PRE></LINGO-BODY><LINGO-SUB id="lingo-sub-241526" slang="en-US" mode="NONE">回复:帮助编写脚本以从曲线拟合编译参数</LINGO-SUB><LINGO-BODY id="lingo-body-241526" slang="en-US" mode="NONE"><P>这是我如何做的一个例子。</P>
<P> </P>
<PRE><CODE class=" language-jsl">Names Default to Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
fc = dt << Fit Curve(
Y( :weight ),
X( :height ),
Fit Exponential 2P
);
fcr = fc << Report;
{ a, b } = fcr["Parameter Estimates"][NumberColBox("Estimate")] << Get;你好@马克贝利
感谢您的帮助,但我仍然遇到同样的错误。 我在“估计”之后删除了最后一个级别或“1”。 欢迎任何其他建议!
我认为导致错误的显示树中存在不必要的下标级别。 这是我的意思的一个例子:
a = GrowthRate = r[outlinebox("Parameter Estimates"),NumberColBox("Estimate",1)] << get(1);
我认为删除最后一层将避免错误:
a = GrowthRate = r[outlinebox("Parameter Estimates"),NumberColBox("Estimate")] << get(1);