Question: LiftOver in R (error)
gravatar for viniciushs.z
6.0 years ago by
viniciushs.z20 wrote:

I am trying to use the LiftOver function in `rtracklayer` package but I am getting one error, this is my code:

    chain <- import.chain("bosTau6.hg19.all.chain")
    df <- read.table(textConnection("chr  start  end
    chr5  58024309  58039917"), header =T)
    gr <- makeGRangesFromDataFrame(df, TRUE)
    humcon <- liftOver(gr, chain)

To download and extract the chain file into work folder I used:

    gunzip gunzip bosTau6.hg19.all.chain.gz

The error follows:

    Warning message:
    'mseqapply' is deprecated.
    Use 'as(mapply(FUN, ...), 'List')' instead.
    See help("Deprecated")

Some ideas why it is not working? Thank you!

liftover bioconductor R genome • 3.8k views
ADD COMMENTlink modified 6.0 years ago by Sean Davis26k • written 6.0 years ago by viniciushs.z20
gravatar for Sean Davis
6.0 years ago by
Sean Davis26k
National Institutes of Health, Bethesda, MD
Sean Davis26k wrote:

Your code appears to have worked just fine.  What you are seeing is a "Warning".  Warnings are usually not critical (but need to be evaluated on a case-by-case basis).  In this case, I suspect that your liftOver worked just fine and that you can ignore the Warning.  

For future reference, in addition to example code, include the output of sessionInfo() when posting about R code problems.

ADD COMMENTlink written 6.0 years ago by Sean Davis26k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1912 users visited in the last hour