From 93beaa13f891a01d785845ad36f28778481e077e Mon Sep 17 00:00:00 2001 From: Daniel Nachun Date: Thu, 22 Oct 2026 11:50:23 -0400 Subject: [PATCH] fix website --- R/regularizedRegressionWrappers.R | 3 +-- _pkgdown.yml | 4 ++-- man/mrmashRssWeights.Rd | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/R/regularizedRegressionWrappers.R b/R/regularizedRegressionWrappers.R index 33de5fc2..2a3f00f5 100644 --- a/R/regularizedRegressionWrappers.R +++ b/R/regularizedRegressionWrappers.R @@ -735,8 +735,7 @@ mrmashWeights <- function( #' cond <- c("brain", "blood", "muscle") #' zmat <- matrix(rnorm(30 * 3), 30, 3, #' dimnames = list(colnames(X), cond)) -#' stat <- list(z = zmat, n = matrix(nrow(X), 30, 3), -#' variantNames = colnames(X)) +#' stat <- list(z = zmat, n = nrow(X), variantNames = colnames(X)) #' mrmashRssWeights(stat, LdMatrix(cor(X)), #' dataDrivenPriorMatrices = multiTraitData$priorMatrices, #' canonicalPriorMatrices = TRUE) diff --git a/_pkgdown.yml b/_pkgdown.yml index f8a5f892..7711362b 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -154,11 +154,11 @@ reference: - CtwasResult - CtwasResultEntry - fineMappingRow + - GenotypeMixture - GwasFineMappingResult - GwasSumStats - - GenotypeMixture-constructor - LdEigen - - LdMatrix-constructor + - LdMatrix - LdScore - MashPrior - MultiStudyQtlDataset diff --git a/man/mrmashRssWeights.Rd b/man/mrmashRssWeights.Rd index 197eed21..149bfdf0 100644 --- a/man/mrmashRssWeights.Rd +++ b/man/mrmashRssWeights.Rd @@ -98,8 +98,7 @@ X <- eqtlRegionExample$X[, 1:30] cond <- c("brain", "blood", "muscle") zmat <- matrix(rnorm(30 * 3), 30, 3, dimnames = list(colnames(X), cond)) -stat <- list(z = zmat, n = matrix(nrow(X), 30, 3), - variantNames = colnames(X)) +stat <- list(z = zmat, n = nrow(X), variantNames = colnames(X)) mrmashRssWeights(stat, LdMatrix(cor(X)), dataDrivenPriorMatrices = multiTraitData$priorMatrices, canonicalPriorMatrices = TRUE)