Run fitExtractVarPartModel to evaluate the effect of each metadata variable on your data.
run_variancePartition( obj, metadata = NULL, nCores = NULL, form = NULL, is_opengwas = FALSE, show_plot = TRUE, ... )
| obj | Matrix or Seurat object to run fitExtractVarPartModel on. |
|---|---|
| metadata | data.frame containing metadata
to use in |
| nCores | Number of cores to use in parallel. |
| is_opengwas | Whether the data comes from
OpenGWAS.
If |
| ... | Additional arguments passed to fitExtractVarPartModel. |