Description Usage Arguments Value Examples
Process the clumped file from plink.
1 2 | ggmanClumps(plink.clumped, index.snp.column, clumps.column, label.column = NA,
group.column = NA)
|
plink.clumped |
A data frame read from plink.clumped file. |
index.snp.column |
Name of the column containing the index SNPs |
clumps.column |
Name of the column containing the clumps |
label.column |
Name of the column containing the labels |
group.column |
Name of the column containing the grouping variable |
An object of class 'ggmanClumps'
1 2 3 4 5 6 | #just the clumps, with no label and no highlights
toy.clumps <- ggmanClumps(toy.clumped, index.snp.column = "SNP", clumps.column = "SP2")
#add labels and highlights
toy.clumps <- ggmanClumps(toy.clumped, index.snp.column = "SNP", clumps.column = "SP2",
group.column = "group", label.column = "label")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.