Code Monkey home page Code Monkey logo

Comments (5)

xihaoli avatar xihaoli commented on August 26, 2024

Hi Priya,
Thanks for your question. In STAAR(), the eig_sym() is a c++ function embedded in the Armadillo library that performs eigen-decomposition of the underlying dense symmetric matrix (in this case, the weighted covariance matrix). May I ask what would be the dimension for your eigen-decomposition, i.e. what is the dimension of the G matrix (you may follow lines 76-102 in the STAAR() function to obtain this G matrix from the input genotype matrix)?
Best,
Xihao

from staar.

prnakka avatar prnakka commented on August 26, 2024

Hi, The dimension of the G matrix I was running this function on was 4620 x 285. Thanks, Priya

from staar.

xihaoli avatar xihaoli commented on August 26, 2024

Hi Priya,
Thanks for your reply. The dimension of your G matrix is manageable for STAAR() function. In this case, could you please check whether your G matrix or annotation weights, i.e. w_B, w_S, w_A, contain any missing values? If not, could you please try updating your Rcpp and RcppArmadillo packages to the latest version and try it again?
Best,
Xihao

from staar.

prnakka avatar prnakka commented on August 26, 2024

Hello, Removing variants with missing values in the annotations fixed the problem for me, thank you so much!! I had one last question: is there a method you would recommend to combine STAAR p-values across multiple studies? Thank you again!

from staar.

xihaoli avatar xihaoli commented on August 26, 2024

Hi Priya,

Thanks so much for letting me know that the problem has been fixed. For your question on combining STAAR p-values, could you please send us an email to have a further discussion, as it may depend on the specific study design of your project?

Thanks again.

Best,
Xihao

from staar.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.