get_non_zero_coefficients_as_data_frame | R Documentation |
Extract the coefficients (C) from the fit object where the coefficient has at least one non-zero entry across the response variables. The function also reads the pvar file so that the resulting data frame has the chromosomal position of the genetic variants.
get_non_zero_coefficients_as_data_frame(
multiSnpnetResults = NULL,
fit_obj = NULL,
genotype_file = NULL,
withTSVD = FALSE,
component_prefix = "Component",
rank = NULL,
zstdcat_path = "zstdcat"
)
multiSnpnetResults |
a list containing the results of the multiSnpnet fit |
fit_obj |
A named list containing the results of the multisnpnet results. |
genotype_file |
Path to the new suite of genotype files. genotype_file.pvar.zst must exist. |
withTSVD |
A boolean variable indicating whether to include the SVD loadings on variants |
component_prefix |
(applicable when withTSVD is TRUE) the prefix of the SVD loadings column |
rank |
(applicable when withTSVD is TRUE) the rank of SVD |
zstdcat_path |
Path to zstdcat program, needed when loading variants. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.