Description Usage Arguments Value
View source: R/utlis-genetic-load.R
Merges the genotypes with the annotation (FUNSEQ and Consequences) and puts the table in long format. This function also removes all sites, for each individual-sample, that are homozygous (0|0) since these sites don't contribute to the load.
1 | merge_genotypes_with_annotation(genotipos, annotation, h_samples)
|
genotipos |
the tidy genotypes, output of |
annotation |
table with annotation, the output of |
h_samples |
vector of samples, a subset of the samples |
A data frame, with the following columns
Variant ID
Variant consequence
funseq score
individual id, example: HG00551
the genotype of the individual, example: 0|1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.