Skip to content

Commit

Permalink
Fixed typos and added genotype path
Browse files Browse the repository at this point in the history
  • Loading branch information
Vera N. Karlbauer committed Mar 6, 2025
1 parent 7880cd7 commit c111b28
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions scripts/1_definitions_and_setup.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ This script asks the user to define or choose:
+ person id
+ sex
* additional batch variables (up to 3)
* optionally:
+ path for R packages
+ path to the genotype data location
+ prefix (project name) of the genotype files

<br>
**Notes/Definitions:**
Expand All @@ -52,9 +56,9 @@ The path name should not include the name of the github repository
**Path to phenotype data:** The path to the data table containing phenotype information
The path name should include the name of data table itself. This file must be **.csv**
**Path to idat files:** The path to the raw files obtained from array
**Path to R package directories (optional):** The path to the personal directory for installing and loading packages.
**Path to R package directories (optional):** The path to a directory for installing and loading R packages.
This is needed if installation of R packages to the default R library are not permitted due to the lack of admin rights.
Thsi will enable R to install and load any needed packages without problems.
This will enable R to install and load any needed packages without problems.
Please make sure you have the needed writing permissions in this specified directory
**Array type:** "v1" or "v2". This stands for the different versions of the EPIC array
**Population ethnicity:** Choose "AFR", "AMR", "ASN", "EUR" or "Global". Global
Expand All @@ -78,6 +82,9 @@ be listed as F, M, or W. If your sex data is described in a different way
be considered in a batch check in script 8: plate, slide, array, row and column. Please
provide additional possible batch variables if needed as a character vector (up to 3,
add more if necessary). If not, please leave this field as is.
+**Path to genotype files:** The path to the QC-ed genotype data in plink file format (.bed, .bim, .fam)
+**Genotype project name:** Prefix of the genotype files, denoting the project (e.g. my_study_2020)

<br>

## Directory structure
Expand Down Expand Up @@ -143,10 +150,11 @@ user_choices <- data.frame(
"name_well_column" = name_well_column,
"name_personid_column" = name_personid_column,
"name_sex_column" = name_sex_column,
"name_treatment_column" = name_treatment_column,
"additional_batch_variable_1" = additional_batch_variable_1,
"additional_batch_variable_2" = additional_batch_variable_2,
"additional_batch_variable_3" = additional_batch_variable_3
"additional_batch_variable_3" = additional_batch_variable_3,
"genotype_path" = genotype_path,
"genotype_projectname" = genotype_projectname
)
saveRDS(user_choices, "../data/user_choices.rds")
Expand Down

0 comments on commit c111b28

Please sign in to comment.