View source: R/func__geoTempAnalyser__countAllelesPerGeneByCountry.R
countAllelesPerGeneByCountry | R Documentation |
This function cares any alleles.
countAllelesPerGeneByCountry(sam, mapping, gm, nul = NA)
sam |
A data frame of sample information. Required columns: Strain, Country, Year_low and Year_up. |
mapping |
A data frame in the output of lmm or findPhysLink. |
gm |
Gene content matrix. Its column names must match the gene names in the mapping data frame. |
nul |
A value for zero counts. It can be zero definitely, but setting it to NA makes it easier to draw a heat map. |
Yu Wan (wanyuac@126.com)
cc <- countAllelesPerGeneByCountry(sam = sam, mapping = assoc$mapping, gm = assoc$genes$all, nul = -35)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.