Dear list:

I am a newbie for R language, I just wonder that how to use biomaRt to
retrieve all locusIDs between two SNPs from ensembl using biomaRt package.
I tried to use getBM(), getSequence(), getGene(), but it always give me
wrong information.

also I have question about enviroment that I scratched the statement from
review of biomaRt 1.6.0 version into R(version 2.3.1)

> mart = useMart("snp", dataset = "hsapiens_snp")
Checking attributes and filters ... ok
>
>
> getSNP(chromosome = 8, start = 148350, end = 148612, mart = mart)
Error in getBM(attributes = attributes, filters = c("chr_name", snpstart,  :

        filter: snp_chrom_start not found, please use the function
'listFilters' to get valid filter names
>
> getSequence(chromsome=5, start=240457, end=
356304,type="ensembl",seqType="cdna",mart=mart)
Error in getSequence(chromsome = 5, start = 240457, end = 356304, type =
"ensembl",  :
        unused argument(s) (chromsome ...)
>
Is there anybody who can help me out of this situation.

Thanks

Shiliang

	[[alternative HTML version deleted]]

