View source: R/func__getAssocGenePair.R
getAssocGenePair | R Documentation |
This is a little tool function for getting all rows relating to all alleles of two given genes.
getAssocGenePair(x, map, g1, g2, col1 = "y", col2 = "x")
x |
A data frame to be subset for the result. |
map |
A data frame to be searched against, which maps allele names to gene information. There must be two columns named "allele" and "gene". |
g1 |
A string for the first gene name. |
g2 |
A string for the second gene name. |
col1 |
Name or index for the first column of alleles in x. Default: y. |
col2 |
Name or index for the second column of alleles in x. Default: x. |
A data frame from x.
Yu Wan (wanyuac@126.com)
getAssocGenePair(x = assoc$mapping, g1 = "StrA_AGly", g2 = "DfrA8_Tmt", col1 = "y", col2 = "x")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.