- VDJ
VDJ dataframe output from the VDJ_GEX_matrix function.
- feature.columns
Character vector. One or more column names from the VDJ to indicate the unique species for the rarefaction (to rarefy across). If more than one column is provided (e.g. c("VDJ_cdr3s_aa","VJ_cdr3s_aa")) these columns will be pasted together.
- grouping.column
Character. Column name of a column to group the rarefaction by. This could be "sample_id" for rarefaction curves for each sample.
- VDJ.VJ.1chain
Boolean defaults to TRUE. Whether to filter out aberrant cells (more than 1 VDJ or VJ chain).
- rarefaction.type
Character. Options for the iNEXT rarefaction - 'sample.size','coverage.based', or 'sample.completeness'.
- hill.numbers
Integer/ vector of integers. The Hill numbers to be plotted out (0 - species richness, 1 - Shannon diversity, 2 - Simpson diversity)
- number.resamples
Integer. Number of bootstrap replications.
- sample.sizes
Vector if integers. The sample size points at which rarefaction should be performed. Defaults to NULL
- endpoint
Integer. The maximum sample size for rarefaction extrapolation. Defaults to NULL = 2 times the sample size for each sample.