Running examples in ‘PANPRSnext-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gsfPEN_R
> ### Title: Run the gsfPEN algorithm for multiple traits, with functional
> ###   annotations.
> ### Aliases: gsfPEN_R
> 
> ### ** Examples
> 
> # Load the library and data
> library(PANPRSnext)
> data("summaryZ")
> data("Nvec")
> data("plinkLD")
> data("funcIndex")
> 
> # Take random subset of the data
> subset <- sample(nrow(summaryZ), 100)
> subset_summary_z <- summaryZ[subset, ]
> subset_func_index <- funcIndex[subset, ]
> 
> # Run gsfPEN
> output <- gsfPEN_R(
+   summary_z = subset_summary_z,
+   n_vec = Nvec,
+   plinkLD = plinkLD,
+   func_index = subset_func_index
+ )
Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1
Execution halted
Running examples in ‘PANPRSnext-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gsfPEN_R
> ### Title: Run the gsfPEN algorithm for multiple traits, with functional
> ###   annotations.
> ### Aliases: gsfPEN_R
> 
> ### ** Examples
> 
> # Load the library and data
> library(PANPRSnext)
> data("summaryZ")
> data("Nvec")
> data("plinkLD")
> data("funcIndex")
> 
> # Take random subset of the data
> subset <- sample(nrow(summaryZ), 100)
> subset_summary_z <- summaryZ[subset, ]
> subset_func_index <- funcIndex[subset, ]
> 
> # Run gsfPEN
> output <- gsfPEN_R(
+   summary_z = subset_summary_z,
+   n_vec = Nvec,
+   plinkLD = plinkLD,
+   func_index = subset_func_index
+ )
Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1
Execution halted
Running examples in ‘PANPRSnext-Ex.R’ failed
The error most likely occurred in:

> ### Name: gsfPEN_R
> ### Title: Run the gsfPEN algorithm for multiple traits, with functional
> ###   annotations.
> ### Aliases: gsfPEN_R
> 
> ### ** Examples
> 
> # Load the library and data
> library(PANPRSnext)
> data("summaryZ")
> data("Nvec")
> data("plinkLD")
> data("funcIndex")
> 
> # Take random subset of the data
> subset <- sample(nrow(summaryZ), 100)
> subset_summary_z <- summaryZ[subset, ]
> subset_func_index <- funcIndex[subset, ]
> 
> # Run gsfPEN
> output <- gsfPEN_R(
+   summary_z = subset_summary_z,
+   n_vec = Nvec,
+   plinkLD = plinkLD,
+   func_index = subset_func_index
+ )
Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1
Execution halted
Running examples in ‘PANPRSnext-Ex.R’ failed
The error most likely occurred in:

> ### Name: gsfPEN_R
> ### Title: Run the gsfPEN algorithm for multiple traits, with functional
> ###   annotations.
> ### Aliases: gsfPEN_R
> 
> ### ** Examples
> 
> # Load the library and data
> library(PANPRSnext)
> data("summaryZ")
> data("Nvec")
> data("plinkLD")
> data("funcIndex")
> 
> # Take random subset of the data
> subset <- sample(nrow(summaryZ), 100)
> subset_summary_z <- summaryZ[subset, ]
> subset_func_index <- funcIndex[subset, ]
> 
> # Run gsfPEN
> output <- gsfPEN_R(
+   summary_z = subset_summary_z,
+   n_vec = Nvec,
+   plinkLD = plinkLD,
+   func_index = subset_func_index
+ )
Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1
Execution halted
Running examples in 'PANPRSnext-Ex.R' failed
The error most likely occurred in:

> ### Name: gsfPEN_R
> ### Title: Run the gsfPEN algorithm for multiple traits, with functional
> ###   annotations.
> ### Aliases: gsfPEN_R
> 
> ### ** Examples
> 
> # Load the library and data
> library(PANPRSnext)
> data("summaryZ")
> data("Nvec")
> data("plinkLD")
> data("funcIndex")
> 
> # Take random subset of the data
> subset <- sample(nrow(summaryZ), 100)
> subset_summary_z <- summaryZ[subset, ]
> subset_func_index <- funcIndex[subset, ]
> 
> # Run gsfPEN
> output <- gsfPEN_R(
+   summary_z = subset_summary_z,
+   n_vec = Nvec,
+   plinkLD = plinkLD,
+   func_index = subset_func_index
+ )
Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1
Execution halted
Running examples in ‘PANPRSnext-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gsfPEN_R
> ### Title: Run the gsfPEN algorithm for multiple traits, with functional
> ###   annotations.
> ### Aliases: gsfPEN_R
> 
> ### ** Examples
> 
> # Load the library and data
> library(PANPRSnext)
> data("summaryZ")
> data("Nvec")
> data("plinkLD")
> data("funcIndex")
> 
> # Take random subset of the data
> subset <- sample(nrow(summaryZ), 100)
> subset_summary_z <- summaryZ[subset, ]
> subset_func_index <- funcIndex[subset, ]
> 
> # Run gsfPEN
> output <- gsfPEN_R(
+   summary_z = subset_summary_z,
+   n_vec = Nvec,
+   plinkLD = plinkLD,
+   func_index = subset_func_index
+ )
Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1
Execution halted
Running examples in ‘PANPRSnext-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gsfPEN_R
> ### Title: Run the gsfPEN algorithm for multiple traits, with functional
> ###   annotations.
> ### Aliases: gsfPEN_R
> 
> ### ** Examples
> 
> # Load the library and data
> library(PANPRSnext)
> data("summaryZ")
> data("Nvec")
> data("plinkLD")
> data("funcIndex")
> 
> # Take random subset of the data
> subset <- sample(nrow(summaryZ), 100)
> subset_summary_z <- summaryZ[subset, ]
> subset_func_index <- funcIndex[subset, ]
> 
> # Run gsfPEN
> output <- gsfPEN_R(
+   summary_z = subset_summary_z,
+   n_vec = Nvec,
+   plinkLD = plinkLD,
+   func_index = subset_func_index
+ )
Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1
Execution halted
Running examples in 'PANPRSnext-Ex.R' failed
The error most likely occurred in:

> ### Name: gsfPEN_R
> ### Title: Run the gsfPEN algorithm for multiple traits, with functional
> ###   annotations.
> ### Aliases: gsfPEN_R
> 
> ### ** Examples
> 
> # Load the library and data
> library(PANPRSnext)
> data("summaryZ")
> data("Nvec")
> data("plinkLD")
> data("funcIndex")
> 
> # Take random subset of the data
> subset <- sample(nrow(summaryZ), 100)
> subset_summary_z <- summaryZ[subset, ]
> subset_func_index <- funcIndex[subset, ]
> 
> # Run gsfPEN
> output <- gsfPEN_R(
+   summary_z = subset_summary_z,
+   n_vec = Nvec,
+   plinkLD = plinkLD,
+   func_index = subset_func_index
+ )
Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1
Execution halted
Running examples in 'PANPRSnext-Ex.R' failed
The error most likely occurred in:

> ### Name: gsfPEN_R
> ### Title: Run the gsfPEN algorithm for multiple traits, with functional
> ###   annotations.
> ### Aliases: gsfPEN_R
> 
> ### ** Examples
> 
> # Load the library and data
> library(PANPRSnext)
> data("summaryZ")
> data("Nvec")
> data("plinkLD")
> data("funcIndex")
> 
> # Take random subset of the data
> subset <- sample(nrow(summaryZ), 100)
> subset_summary_z <- summaryZ[subset, ]
> subset_func_index <- funcIndex[subset, ]
> 
> # Run gsfPEN
> output <- gsfPEN_R(
+   summary_z = subset_summary_z,
+   n_vec = Nvec,
+   plinkLD = plinkLD,
+   func_index = subset_func_index
+ )
Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1
Execution halted