Skip to content

Commit

Permalink
annotation filtered added and code adapted
Browse files Browse the repository at this point in the history
  • Loading branch information
NatanYusupov committed Mar 28, 2024
1 parent 612127d commit b25f141
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion scripts/6_filtering_cpgs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ load(paste0(user_choices$project_name, "/processed_data/RGSet_clean.Rdata"))
load(paste0(user_choices$project_name, "/processed_data/Betas_clean.Rdata"))
load(paste0(user_choices$project_name, "/processed_data/PhenoData_clean.Rdata"))
load(paste0(user_choices$project_name, "/processed_data/detP_clean.Rdata"))
load(paste0(user_choices$project_name, "/reports/annotations_clean.Rdata"))
# Info about cross-hybridizing probes comes from Chen et al. 2013, DOI: 10.4161/epi.23470:
load("data/ChenProbeIDs.rdata")
```
Expand All @@ -50,6 +49,11 @@ We will remove probes that:
* cross-hybridize (described by McCartney et al.)
* are polymorphic

```{r get annotation of probes, include=FALSE}
annotations_clean = getAnnotation(RGSet_clean)
save(annotations_clean, file = paste0(user_choices$project_name, "/reports/annotations_clean.Rdata"))
```

## Removal of failed probes in one or more samples

```{r filter out failed probes, include=FALSE}
Expand Down
2 changes: 1 addition & 1 deletion scripts/7_normalization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ data for further investigation. These files are saved to reports folder.
**Note**
The user can further alter the normalization methods if needed (e.g. include noob etc.)

```{r get annotation of probes, include=FALSE}
```{r get annotation of filtered probes, include=FALSE}
annotations_clean_filtered = getAnnotation(RGSet_clean_filtered)
save(annotations_clean_filtered, file = paste0(user_choices$project_name, "/reports/annotations_clean_filtered.Rdata"))
```
Expand Down

0 comments on commit b25f141

Please sign in to comment.