annotationRegions {SNPhood} | R Documentation |
Return the annotation of the SNP regions that are defined in the SNPhood
object.
annotationRegions(SNPhood.o, asGRangesObj = FALSE, verbose = FALSE)
SNPhood.o |
Object of class |
asGRangesObj |
Logical(1). Default FALSE. Should the full annotation be returned (as |
verbose |
Logical(1). Default FALSE. Should the verbose mode (i.e., diagnostic messages during execution of the script) be enabled? |
If asGRangesObj
is set to TRUE
, a GRanges
object is returned. Otherwise, a character vector with the currently stored SNP annotation is returned.
data(SNPhood.o, package="SNPhood") IDs.vec = annotationRegions(SNPhood.o, asGRangesObj = FALSE) IDs.gr = annotationRegions(SNPhood.o, asGRangesObj = TRUE)