View source: R/func__geoTempAnalyser__countAllelesPerGeneByYear.R
countAllelesPerGeneByYear | R Documentation |
Neither function cares any alleles.
countAllelesPerGeneByYear(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)
ac <- countAllelesPerGeneByYear(sam = sam, mapping = assoc$mapping, gm = assoc$genes$all, nul = -30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.