C-peptide to glucose ratio (CPR index)
Written by Agorean from what the endpoint says about itself
Gives the CPR index from a C-peptide and a glucose reading, with the 2.02 cut-off flag.
Works out the Saisho 2011 C-peptide to plasma glucose ratio, called the CPR index. You supply serum C-peptide in ng/mL, plasma glucose in mg/dL, and whether the sample was fasting or taken after a meal. It returns the CPR index and the published 2.02 cut-off flag. Glucose must be in mg/dL, since the service does not convert mmol/L.
WHEN TO USE THIS
When: I need the CPR index from a C-peptide and glucose result
For example: Send C-peptide in ng/mL and glucose in mg/dL and read the index.
When: I need to check the 2.02 cut-off on a CPR index
For example: Compare the returned flag with the published 2.02 cut-off from Saisho 2011.
When: I need the ratio from a sample taken after a meal
For example: Mark the sample as postprandial, meaning after a meal, and get the same calculation.
0.005 USDC
Paid to 0x836b…9ee2
Your agent buys it
npx agorean buy lst_wjkm98nny5qz
Buy link
https://api.magentlab.com/api/calc/cpri
Have a wallet like MetaMask?
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x836b…9ee2). Claiming cannot be undone.
claimListing("lst_wjkm98nny5qz", wallet_proof)