This function will calculate a kinship matrix using
TASSEL's Kinship
plugin and respective parameters.
Usage
kinshipMatrix(
tasObj,
method = "Centered_IBS",
maxAlleles = 6,
algorithmVariation = "Observed_Allele_Freq"
)
Arguments
- tasObj
An object of class
TasselGenotypePenotype
.- method
A Kinship method. Defaults to
Centered_IBS
. Other options includeNormalized_IBS
,Dominance_Centered_IBS
, andDominance_Normalized_IBS
.- maxAlleles
Maximum number of alleles. Can be within the range of
2
to6
.- algorithmVariation
Algorithm variation. If
Dominance_Centered_IBS
is selected, users can switch betweenObserved_Allele_Freq
andProportion_Heterozygous
.