ggmanClumps: ggmanClumps

Description Usage Arguments Value Examples

View source: R/ggmanClumps.R

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

veera-dr/ggman documentation built on Oct. 17, 2018, 2:25 a.m.