View source: R/adjust_zstat_in_genesOut.r
adjust_zstat_in_genesOut | R Documentation |
Used when you want to directly analyse the gene-level Z-scores for a given GWAS while correcting for known confounding variables such as:
NSNPS
: Number of SNPs
NPARAM
: Number of parameters?
GENELEN
: Gene length
log***
: The logged version of each of the above variables,
using the default log function.
adjust_zstat_in_genesOut(
magma_GenesOut_file,
ctd = NULL,
ctd_species = infer_ctd_species(ctd),
prepare_ctd = TRUE,
method = "bonferroni",
verbose = TRUE,
...
)
magma_GenesOut_file |
A MAGMA .genes.out file generated by map_snps_to_genes. |
ctd |
Cell type data structure containing
|
ctd_species |
Species name relevant to the CellTypeDataset ( |
prepare_ctd |
Whether to run
prepare_quantile_groups on the |
method |
R package to use for gene mapping:
|
verbose |
Print messages. |
... |
Arguments passed on to
|
myGenesOut <- MAGMA.Celltyping::import_magma_files(
ids = c("ieu-a-298"),
file_types = ".genes.out",
return_dir = FALSE)
ctd <- ewceData::ctd()
magmaGenesOut <- MAGMA.Celltyping::adjust_zstat_in_genesOut(
ctd = ctd,
magma_GenesOut_file = myGenesOut,
ctd_species = "mouse"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.