@@ -154,7 +154,7 @@ ribo_adj_small <- keep_ribo_samples(ribo_adj,c("sample1","sample2","sample3","sa
154
154
### To remove a small number of samples
155
155
156
156
``` {r, eval=FALSE}
157
- ribo_adj_small <- remove_ribo_samples(ribo_adj,c("xxxx","xxxccc","RNA_ref-1","RNA_ref-2"))
157
+ ribo_adj_small <- remove_ribo_samples(ribo_adj,c("xxxx","xxxccc","RNA_ref-1","RNA_ref-2")) # ribo_toy : ...,c("RNA1", "RNA2"))
158
158
```
159
159
160
160
### Uniformisation of the RiboClass name
@@ -211,10 +211,12 @@ To do only if you want to compare a subset of your samples (i.e., not all the sa
211
211
212
212
``` {r, eval=FALSE}
213
213
kept_samples <- ribo_adj_annot$metadata %>%
214
- dplyr::filter(!is.na(variableA)) %>% # keep lines that are not "NA"
214
+ # keep lines that are not "NA"
215
+ dplyr::filter(!is.na(variableA)) %>% #ribo_toy (!is.na(comp1))
215
216
dplyr::pull(samplename)
216
217
217
- ribo_adj_annot_variableA <- keep_ribo_samples(ribo_adj_annot,kept_samples) #create a new RiboClass including the subdata variableA
218
+ #create a new RiboClass including the subdata variableA
219
+ ribo_adj_annot_variableA <- keep_ribo_samples(ribo_adj_annot,kept_samples) #ribo_toy ribo_adj_annot_comp1 <- ...
218
220
```
219
221
220
222
#### Create mandatory comparison table for the report_diff_sites
@@ -231,15 +233,16 @@ comparisons <- tibble::tibble(
231
233
232
234
``` {r, eval=FALSE}
233
235
report_2ome_sites(ribo = ribo_adj_annot_variableA, specie = "human", condition_col = "variableA", project_name = "name", comments = "./path/to/comment_2ome_variableA.Rmd")
234
- #condition_col: change the name of the column to perform new analysis
236
+ #condition_col: change the name of the column to perform new analysis. ribo_toy condition_col = "comp1"
235
237
#comments: change the path and name of your files with your comments if required
236
238
```
237
239
238
240
#### Generate a report to perform site-by-site 2’Ome comparison
239
241
240
242
``` {r, eval=FALSE}
241
243
report_diff_sites(ribo = ribo_adj_annot_variableA, specie = "human", condition_col = "variableA", project_name = "name", comparisons = comparisons, comments = "./comment_diff_site_variableA.Rmd")
242
- #condition_col: change the name of the column to perform new analysis
244
+ #ribo_toy : ribo = ribo_adj_annot_comp1
245
+ #condition_col: change the name of the column to perform new analysis . ribo_toy condition_col = "comp1"
243
246
#comparisons: name of the comparison table
244
247
#comments: change the name of your files with your comments if required
245
248
```
@@ -251,7 +254,7 @@ Re-do all the steps of [Reports for comparisons explained in column 1] but using
251
254
## Export data
252
255
253
256
``` {r, eval = FALSE}
254
- ribo_df <- extract_data(ribo_adj_annot,
257
+ ribo_df <- extract_data(ribo_adj_annot, #change for the annotated RiboClass if needed
255
258
col = "cscore",
256
259
only_annotated = TRUE)
257
260
0 commit comments