View source: R/load_magma_results_file.r
load_magma_results_file | R Documentation |
Convenience function which just does a little formatting to make it easier to use.
load_magma_results_file(
path,
ctd,
annotLevel,
EnrichmentMode,
genesOutCOND = NA,
analysis_name = NULL,
ControlForCT = "BASELINE",
keep_all_rows = FALSE,
verbose = TRUE
)
path |
Path to a .gcov.out file (if |
ctd |
Cell type data structure containing
|
annotLevel |
Level within the |
EnrichmentMode |
[Optional] Either 'Linear' or 'Top 10%'
(Default: |
genesOutCOND |
[Optional] If the analysis controlled for another GWAS,
then this is included as a column. Otherwise the column is |
analysis_name |
Used in file names which area created. |
ControlForCT |
[Optional] May be an internal argument. We suggest ignoring or take a look at the code to figure it out. |
keep_all_rows |
Keep all rows, without filtering such that there is only one row per celltype. |
verbose |
Print messages. |
Contents of the .gcov.out file.
path <- system.file(
"extdata","ieu-a-298.tsv.gz.35UP.10DOWN.level1.MainRun.gsa.out",
package = "MAGMA.Celltyping")
ctd <- ewceData::ctd()
annotLevel <- 1
EnrichmentMode <- "Linear"
res <- load_magma_results_file(path = path,
ctd = ctd,
annotLevel = annotLevel,
EnrichmentMode = EnrichmentMode)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.