Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9013399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:15:23+00:00 2026-06-16T03:15:23+00:00

The genoset R package has a function for building a GenoSet by putting together

  • 0

The genoset R package has a function for building a GenoSet by putting together several matrices and a RangedData object that specifies co-ordinates.

I have the following objects – three matrices, all with the same name, and a RangedData object of the following format (called locData).

               space                 ranges |
            <factor>              <IRanges> |
 cg00000957        1 [  5937253,   5937253] |
 cg00001349        1 [166958439, 166958439] |
 cg00001583        1 [200011786, 200011786] |
 cg00002028        1 [ 20960010,  20960010] |
 cg00002719        1 [169396706, 169396706] |
 cg00002837        1 [ 44513358,  44513358] |

When I try to create a GenoSet, though, I get the following error.

 DMRSet=GenoSet(locData,Exprs,meth,unmeth,universe=NULL)

Error in .Call2(“IRanges_from_integer”, from, PACKAGE = “IRanges”) :
cannot create an IRanges object from an integer vector with missing values.

What am I doing wrong? all the objects I’m putting together have the same rownames, except for the IRanges object itself, which I don’t think has rownames since it isn’t a matrix.
Additionally, the “column” of locData has non-integer characters.

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T03:15:24+00:00Added an answer on June 16, 2026 at 3:15 am

    It sounds like your "locData" may not be a RangedData. It can alternatively be a GRanges. Either way, you will want to name all of your arguments.

    The underlying eSet class will be upset about that once you get past the locData trouble.

    DMRSet=GenoSet(locData=locData,exprs=Exprs,meth=meth,unmeth=unmeth,universe=NULL)
    

    Pete

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table that contains information for 4 electrical generators. I would like
here is code that generate and paint one of tetramino figure every 5 sec.
Ok, having an issue withe the return value of a function always returning undefined
When I run the following code, I get an error: def genSet(nums): for i
I am trying to remove the node signs +- from tree view and replace
I'm at a loss on this one... Looking at a Set in Scala collections
I'm wondering how I should define instance variables inside a Backbone Model. This is
I am working on access but stuck in insert queries having date time. like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.