-
Notifications
You must be signed in to change notification settings - Fork 68
clonal diversity d50 calculation error #556
Description
clonalDiversity(tcr_G1, cloneCall = "aa", group.by = "donor_condition")
This initial code properly computes the default diversity plots. Although I was hoping to also see d50, so when I include the metric argument for d50, I get:
clonalDiversity(tcr_G1, cloneCall = "aa", group.by = "donor_condition", metrics = "d50")
Error incombine_vars():
! At least one layer must contain all faceting variables:variable
✖ Plot is missingvariable
✖ Layer 1 is missingvariable
✖ Layer 2 is missingvariable
Is there an additional argument that I am missing? I was initially confused because this d50 computation just seems derivative of the clonalProportion function, which functions as advertised. Apologies if this was asked previously, but I could not find any issues revolving around d50. Let me know if there is any further information I can provide.
Thanks,
Riley