Skip to content

Commit

Permalink
added RII
Browse files Browse the repository at this point in the history
  • Loading branch information
vladpetyuk committed Sep 29, 2020
1 parent b3d9d25 commit ac3b2c3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions vignettes/tmt_pipeline_v1_PNNL_DMS.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,29 @@ head(quant_cross_tab)
```


RII
```{r rii}
samples_rii <- samples %>%
mutate(MeasurementName = case_when(is.na(MeasurementName) ~ paste0("ref_",PlexID),
TRUE ~ MeasurementName))
samples_rii <- samples %>%
mutate(MeasurementName = case_when(is.na(MeasurementName) ~ "ref",
TRUE ~ MeasurementName)) %>%
mutate(MeasurementName = paste0(MeasurementName,"_",PlexID))
references_rii <- references %>%
mutate(Reference = 1)
quant_cross_tab_rii <- create_crosstab(msnid,
masic_data,
aggregation_level,
fractions, samples_rii, references_rii)
```



```{r cleanup, echo=FALSE}
unlink(".Rcache", recursive=TRUE)
Expand Down

0 comments on commit ac3b2c3

Please sign in to comment.