Description Usage Arguments Value Examples
The autism de novos come from multiple studies. Some probands are in multiple studies, so we have to remove duplicate entries, while accounting for potential differences in sample IDs, and possibly different coordinates (for indels).
1 | remove_duplicates(de_novos)
|
de_novos |
dataframe of variants |
dataframe of variants, without duplicates
1 2 3 4 5 6 7 | variants = read.table(header=TRUE, text="
person_id chrom start_pos ref_allele alt_allele consequence study_phenotype
sample_01 1 10000 AAA A frameshift_variant autism
sample_01.p1 1 10001 AAA A frameshift_variant normal_iq_autism
sample_02 1 10001 AAA A frameshift_variant normal_iq_autism",
stringsAsFactors=FALSE)
remove_duplicates(variants)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.