omit: Omit SNPs from an Object of 'annotatedSNPset-class'

Description Usage Arguments Value See Also Examples

View source: R/omit.R

Description

This function removes input SNPs from an mapping object of annotatedSNPset-class and returns a new object.

Usage

1
omit(ob,val)

Arguments

ob

Mapping object from which input SNPs to be removed

val

A vector of either SNPs(rsIDs) or indices of SNPs

Value

It returns an object of annotatedSNPset-class.See annotatedSNPset-class for details.

See Also

anno.create

Examples

1
2
3
4
5
obfile <- system.file("sampleData", "obData.rda", package="GKnowMTest")
load(obfile) # loads a mapping object ob1 

ob3<-omit(ob1,5:10)
ob3

sbstatgen/GKnowMTest documentation built on May 27, 2019, 7:40 a.m.