View source: R/bioinf__countPanGenes.R
countPanGenes | R Documentation |
This function is useful for creating gene-accumulation curves, also known as rarefaction curves.
countPanGenes(P, core = 0.95, hard_core = 0.99, permutations = 20)
P |
A binary presence-absence matrix with the dimension of n(genes) x n(isolates) |
core |
Threshold defining hard/soft-core genes (Default: >=0.95) |
hard_core |
Threshold defining hard-core genes (Default: >=0.99) |
permutations |
Number of sampling for each sample size (Default: 20; minumum: 3) |
A list of two lists ("num" and "avg"): one for gene counts and the other for mean gene counts.
Yu Wan (wanyuac@126.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.