Hi,

You can write "biomaRt::getSequence" instead of "getSequence".

Hope this helps,
Pascal


Le 08/02/2013 15:07, Mohammad Tanvir Ahamed a écrit :
Hi !

Facing problem with " getSequence" commend .
when only biomaRt package loaded the following example working well


mart <- useMart("ensembl",dataset="hsapiens_gene_ensembl")
seq = getSequence(id="BRCA1", type="hgnc_symbol", seqType="peptide", mart = 
mart)

show(seq)

but when i have loaded the seqinr, i got problem with same commend .

mart <- useMart("ensembl",dataset="hsapiens_gene_ensembl")
seq = getSequence(id="BRCA1", type="hgnc_symbol", seqType="peptide", mart = 
mart)
Error in length(x) : 'x' is missing

I need to use biomaRt and seqinr package together as i will use other commends 
from biomaRt  and seqinr package .

Thanks .



/.......Tanvir Ahamed

        [[alternative HTML version deleted]]



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to