View source: R/make.shared.gene.matrix.R
make.shared.gene.matrix | R Documentation |
Using the output of make.gene.matrix, creates a gene matrix which summarizes the number of specimens shared between all pairs of gene loci.
make.shared.gene.matrix(dat, loci = dimnames(dat)[[2]][!dimnames(dat)[[2]] %in% c("orgs", "ncbiAcc", "numberOfOrgs", "numberOfAccessions", "numberOfSequences")])
dat |
The output of |
loci |
An optional vector of strings, the names of loci to include when counting shared specimens between pairs. |
loci
includes all loci by default.
A matrix of numeric values, where both rows and columns are loci and cells contain the number of individuals shared between two loci.
Andrew Hipp and Kasey Pham
make.gene.matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.