Gini coefficient TCR repertoire
1
0
Entering edit mode
5 weeks ago
Lucy ▴ 80

Hi,

I would like to calculate the Gini coefficient for my TCR repertoire data. I have seen that this can be calculated using the DescTools and ineq packages in R, however from the package documentation, I am unclear what input is required in the context of TCR repertoire data.

Is anyone able to help with this?

Best wishes,

Lucy

TCR-sequencing Gini • 243 views
ADD COMMENT
0
Entering edit mode
5 weeks ago

Hi,

The Gini coefficient is used in many diverse ways, it seems.

In the context of TCR-seq, you could use it to check for 'inequality' among clonotypes on a per sample or group (condition) basis.

Which data have you got, currently?

Kevin

ADD COMMENT
0
Entering edit mode

Hi Kevin,

Thank you - yes I have paired scTCR-seq data and I would like to compare the clonality of the alpha vs. beta chain.

Best wishes,

Lucy

ADD REPLY
1
Entering edit mode

I see. The function in DescTools appears to just literally accept, at minimal, a vector of values, like c(45,33,67, ..., 45). I suppose that, technically, a Gini coefficient can be calculated from this, where each number represents usage (normalised read count?) of a particular clonotype.

ADD REPLY

Login before adding your answer.

Traffic: 1810 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6