Description Usage Arguments Value Examples
View source: R/rlib_matrix_ls.R
For each column i in X, solve Y_k = X_i b_i + e as least squares problem and output estimated effect size and standard deviation
1 | matrixQTL_one_dim(Y, X, n)
|
Y |
response to regress against (dimension = N x K) |
X |
P predictors to perform regression separately (dimension = N x P) |
n |
sample size (dimension = P x K) |
a list of summary statistics beta_hat: estimated b, b_hat (dimension = K x P) beta_se: standard deviation of b_hat (dimension = K x P)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.