View source: R/functions_pool.R
vcflocus | R Documentation |
Creates a string with the information for all SNPs. The information is coded as R,A:DP. R is the number of reads of the reference allele, A is the number of reads of the alternative allele and DP is the total depth of coverage. Each entry of the character string corresponds to a different SNP.
vcflocus(reference, alternative, total)
reference |
is a vector with the number of reads with the reference allele. Each entry of the vector corresponds to a different SNP. |
alternative |
is a vector with the number of reads with the alternative allele. Each entry of the vector corresponds to a different SNP. |
total |
is a vector with the total number of reads observed at each SNP. Each entry of the vector corresponds to a different SNP. |
is a character vector with as many entries as the number of SNPs in the locus. Each entry of this character vector contains the information for a single SNP coded as R,A:DP.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.