I am trying to create a script to subset data which also adds a column with a formula in it. I am close (sort of). I can create the subset, with the new column, but the new column only has dots in it.
Here is what I have so far:
Data Table( "Melt Curve Raw Data" ) << Subset(
By( :Well Position ),
All rows,
Selected columns only( 0 ),
columns( :Temperature, :Fluorescence, New Column( "Normalized Fluorescence", formula(
(:Fluorescence - Col Min(:Fluorescence )) / (Col Max(:Fluorescence )
-Col Min(:Fluorescence )))
))
);
After searching, I saw something about an eval command, but as a beginner I can't figure out how to add it in so it works.
**Ideally I would also be able to add the new column directly after the Temperature column instead of at the end
Thank you in advance for any advice!!