knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) library(daeqtlr)
Here is how to convert your genotypes to zygosity levels:
read_snp_genotypes()
.read_snp_genotypes()
to zygosity levels
with as_zygous()
.# Read in the genotypes genotypes <- read_snp_genotypes(file = daeqtlr_example('genotypes.csv')) genotypes[1:10, 1:16] # Convert to zygosity levels zygosity <- as_zygous(genotypes) zygosity[1:10, 1:16]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.