ggmanClumps: ggmanClumps

Description Usage Arguments Value Examples

Description

Process the clumped file from plink.

Usage

1
2
ggmanClumps(plink.clumped, index.snp.column, clumps.column, label.column = NA,
  group.column = NA)

Arguments

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

Value

An object of class 'ggmanClumps'

Examples

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")

drveera/ggman documentation built on May 15, 2019, 2:55 p.m.