| getSNP {biomaRt} | R Documentation |
Retrieves SNP's between a given chromosome start and end position
getSNP( chromosome, start, end, mart)
chromosome |
Chromosome name |
start |
start position on given chromosome |
end |
end position on given chromosome |
mart |
object of class Mart, containing connections to the BioMart databases. You can create such an object using the function useMart. |
Steffen Durinck, http://www.esat.kuleuven.ac.be/~sdurinck
if(interactive()){
mart <- useMart("snp",dataset="hsapiens_snp")
snp = getSNP(chromosome = 8, start = 148350, end = 148612, mart = mart)
show(snp)
}