diff options
| author | Alexander_Kabui | 2025-03-27 14:29:29 +0300 |
|---|---|---|
| committer | Alexander_Kabui | 2025-03-27 14:29:29 +0300 |
| commit | c0c6cc4110a5fe5c11b3a6994151ac9e807417dc (patch) | |
| tree | da3278d8690edfdd289d81e8107572f73a892af2 | |
| parent | 9127ae139184839b12bbc7aaadc94f345759c167 (diff) | |
| download | genenetwork3-c0c6cc4110a5fe5c11b3a6994151ac9e807417dc.tar.gz | |
refactor: Temporary disable checking sex covariates in rqtl2.
| -rw-r--r-- | scripts/rqtl2_wrapper.R | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/rqtl2_wrapper.R b/scripts/rqtl2_wrapper.R index 92cfd52..461b4a1 100644 --- a/scripts/rqtl2_wrapper.R +++ b/scripts/rqtl2_wrapper.R @@ -72,7 +72,6 @@ genRandomFileName <- function(prefix, string_size = 9, file_ext = ".txt") { # Generate control file path control_file_path <- file.path(opt$directory, genRandomFileName(prefix = "control", file_ext = ".json")) cat("Generated the control file path at", control_file_path, "\n") - # Read and parse the input file cat("Reading and parsing the input file.\n") json_data <- fromJSON(file = INPUT_FILE_PATH) @@ -181,7 +180,9 @@ error_lod <- do.call("cbind", error_lod) # Get phenotypes and covariates cat("Getting the phenotypes and covariates.\n") pheno <- cross$pheno -covar <- match(cross$covar$sex, c("f", "m")) # make numeric +# covar <- match(cross$covar$sex, c("f", "m")) # make numeric +# TODO rework on this +covar <- NULL if (!is.null(covar)) { names(covar) <- rownames(cross$covar) } |
