Learn R Programming

sequoia (version 2.11.1)

mtSame2Dif: Check and recode mtSame matrix

Description

Recode to 1=different, 0=same

Usage

mtSame2Dif(mtSame = NULL, gID = NULL)

Value

square gID x gID matrix indicating whether individuals have definitely a different mitochondrial haplotype (1), or (possibly) the same (0).

Arguments

mtSame

matrix indicating whether individuals (might) have the same mitochondrial haplotype (1), or definitely not (0). Not all individuals need to be included and order is not important, may not be square.

gID

rownames of `GenoM`