Differential DVH from cumulative DVH - DVHmetrics package

Hi, I have been trying to load the DVH file from RayStation using the DVHmetrics package and convert cumulative dvh to differential dvh with the following code:

res <- readDVH("location-path/filename.dvh", type="RayStation")

res <- convertDVH(test[[c(1, 1)]],
toType="differential",
toDoseUnit="CGY")

however the readDVH does not work, I keep getting the following errors:
Error in (function (strct, structVol, info) : No DVH data found
In addition: Warning message:
In (function (strct, structVol, info) :
Could not determine dose measurement unit

and if I load the DVH as .cvs file and rund the second part I get the following error:
Error in test[[c(1, 1)]] :
attempt to select more than one element in vectorIndex

Does anyone have experiece whit this?
Is there any other way to convert cumulative DVH to differential DVH?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.