CDR3AAPhyschem¶
CDR3 AA physicochemical feature analysis
The idea is to perform a regression between two groups of cells
(e.g. Treg vs Tconv) at different length of CDR3 AA sequences.
The regression will be performed for each physicochemical feature of the
AA (hydrophobicity, volume and isolectric point).
Input¶
scrfile
: The data loaded byScRepCombiningExpression
, saved in RDS or qs/qs2 format.
The data is actually generated byscRepertiore::combineExpression()
.
The data must have both TRA and TRB chains.
Output¶
outdir
: Default:{{in.immdata | stem}}.cdr3aaphyschem
.
The output directory
Environment Variables¶
group
: The key of group in metadata to define the groups to compare. For example,CellType
, which has cell types annotated for each cell in the combined object (immdata + Seurat metadata)comparison
(type=auto
): A dict of two groups, with keys as the group names and values as the group labels. For example,Or simply a list of two groups, for example,Treg = ["CD4 CTL", "CD4 Naive", "CD4 TCM", "CD4 TEM"] Tconv = "Tconv"
["Treg", "Tconv"]
when they are both in thegroup
column.target
: Which group to use as the target group. The target group will be labeled as 1, and the other group will be labeled as 0 in the regression.
If not specified, the first group incomparison
will be used as the target group.each
(auto
): A column, or a list of columns or a string of columns separated by comma.
The columns will be used to split the data into multiple groups and the regression will be applied to each group separately.
If not provided, all the cells will be used.
Reference¶
- Stadinski, Brian D., et al. "Hydrophobic CDR3 residues promote the development of self-reactive T cells." Nature immunology 17.8 (2016): 946-955.
- Lagattuta, Kaitlyn A., et al. "Repertoire analyses reveal T cell antigen receptor sequence features that influence T cell fate." Nature immunology 23.3 (2022): 446-457.
- Wimley, W. C. & White, S. H. Experimentally determined hydrophobicity scale for proteins at membrane - interfaces. Nat. Struct. Biol. 3, 842-848 (1996).
- Handbook of chemistry & physics 72nd edition. (CRC Press, 1991).
- Zamyatnin, A. A. Protein volume in solution. Prog. Biophys. Mol. Biol. 24, 107-123 (1972).