곡선 맞춤에서 매개 변수를 컴파일하기위한 스크립팅 도움말Logistic 4P 모델 (Fit Curve Platform)에서 미생물 성장 매개 변수를 가져 오기 위해 원래 개발 된 스크립트를 편집하는 데 도움이 필요합니다. 각 처리 "스트레인, 미디어, 복제"에서 매개 변수를 가져 오도록 스크립트를 편집하고 싶습니다. 원하는 결과를 원하는 출력으로 확인하십시오. 스크립트에서 중요한 언어가 빠졌지 만 어떻게해야하는지 잘 모르겠습니다. 스크립팅 답변이 좋을 것입니다! 도와주세요!
이것은 내가 얻는 오류입니다.
" 'r [Outline Box (Parameter Estimates"), Number Col Box ( "Estimate", 1)]'의 액세스 또는 평가에서 아래 첨자 문제 ", r] / * ### * / Outline Box ("Parameter Estimates "), 번호 열 상자 ( "추정", 1)]
편집하고 싶은 스크립트- "중요 값 추출"
원하는 출력 테이블을위한 스크립트- "Desired Output"
임계 값 추출
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>
Re : 곡선 맞춤에서 매개 변수를 컴파일하기위한 스크립팅 도움말디스플레이 트리에 오류를 일으키는 불필요한 첨자 수준이 있다고 생각합니다. 다음은 내가 의미하는 바의 예입니다.
a = GrowthRate = r[outlinebox("Parameter Estimates"),NumberColBox("Estimate",1)] << get(1);
마지막 레벨을 제거하면 오류가 발생하지 않는다고 생각합니다.
a = GrowthRate = r[outlinebox("Parameter Estimates"),NumberColBox("Estimate")] << get(1);Re : 곡선 맞춤에서 매개 변수를 컴파일하기위한 스크립팅 도움말안녕하세요 mark
도움을 주셔서 감사하지만 여전히 같은 오류가 발생합니다. "추정"다음에 마지막 레벨 또는 "1"을 제거했습니다. 다른 제안은 환영합니다!
Re : 곡선 맞춤에서 매개 변수를 컴파일하기위한 스크립팅 도움말내가하는 방법의 예는 다음과 같습니다.
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;