# \donttest{
npx_ht <- OlinkAnalyze:::data_ht_small |>
dplyr::filter(SampleType == "SAMPLE") |>
dplyr::mutate(Project = "data1")
npx_3072 <- OlinkAnalyze:::data_3k_small |>
dplyr::filter(SampleType == "SAMPLE") |>
dplyr::mutate(Project = "data2")
overlapping_samples <- unique(intersect(npx_ht |>
dplyr::distinct(SampleID) |>
dplyr::pull(),
npx_3072 |>
dplyr::distinct(SampleID) |>
dplyr::pull()))
data <- OlinkAnalyze::olink_normalization(df1 = npx_ht,
df2 = npx_3072,
overlapping_samples_df1 =
overlapping_samples,
df1_project_nr = "Explore HT",
df2_project_nr = "Explore 3072",
reference_project = "Explore HT")
olinkids <- unique(paste0(data$OlinkID,"_",data$Assay))
results <- olink_bridgeability_plot(data = data,
median_counts_threshold = 150,
min_count = 10)
names(results) <- olinkids
# }
Run the code above in your browser using DataLab