Skip to content

clonal diversity d50 calculation error #556

@rbonifer

Description

@rbonifer

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 in combine_vars():
! At least one layer must contain all faceting variables: variable
✖ Plot is missing variable
✖ Layer 1 is missing variable
✖ Layer 2 is missing variable

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions