テーブル値を保存し、式で使用するこんにちは、
相対値を計算する式で使用できるように、データテーブルから単一の値(ベースライン値)を取得する必要があります。
私は使用しようとしました値を取得機能として、変数として保存します。エラーは表示されませんが、出力も表示されません。何が間違っていますか?
col_dark = column(data table( "splitsummary2")、"AUC dark phase absolute(ml / kg)")<<値を取得Where(Column( "Compound")== "Vehicle0mg / kg")
Brジュリー
再:テーブル値を保存し、式で使用する「値を取得する場所」と呼ばれる関数を聞いたことがありません。 あなたが言及していると思うのは、「Get Rows Where()」です。 以下は、あなたが望むと思うものにあなたのコードを作り直したものです......
col_dark = :Name( "AUC dark phase absolute (ml/kg)" )[Data Table( "splitsummary2" ) <<
Get rows Where( :Compound == "Vehicle0mg/kg" )]
再:テーブル値を保存し、式で使用するdt = Data Table("splitsummary2");
// Get values as matrix and use the loc command to get the locations where compound is equal to "Vehicle0mg/kg". (In my table it appears 3 times). These locations you can use as indices to gt the value(s) you need for further analysis.
m = Column( dt, "AUC dark phase absolute (ml/kg)" ) <<
Get as matrix();
c = Column( dt, "Compound" ) <<GET as="" matrix=""></GET>
これにより、必要な値が得られます。 [23330.7291666667]