in my case, the list is the different values of annot.value returned by a query. annot is a node that has a property named 'value' with a float type.
match (:Search{searchId:"4e69-9ebd-b02e1b0c0d49"})-[:FIRST]->(:SearchSession)-[:ANNOTATION]->(annot:FigureAnnotation)
RETURN apoc.agg.percentiles(annot.value, [0.25, 0.5, 0.75, 1.0]) AS percentiles;