Description Usage Arguments Value Examples
Calculate call rate as proportion of called SNPs in the input dataframe.
1 | callrate(.data)
|
.data |
data frame from |
Table with call rate(s) of the input data frame.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | setwd(system.file(package='SureTypeSCR'))
samplesheet=system.file('files/GSE19247_example.csv',package='SureTypeSCR')
manifest=system.file('files/HumanCytoSNP-12v2_H.bpm',package='SureTypeSCR')
cluster=system.file('files/HumanCytoSNP-12v2_H.egt',package='SureTypeSCR')
##Load data
df=scbasic(manifest,cluster,samplesheet)
##Get overall callrate
#df %>% callrate()
##Get callrate per individual
#df %>%
# group_by(individual) %>%
# callrate()
##Get callrate as allelic fractions and pivot to columns
#df %>%
# group_by(individual,gtype) %>%
# callrate() %>%
# pivot_wider(names_from=gtype,values_from=Callrate)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.