View source: R/Olink_bridgeselector.R
olink_bridgeselector | R Documentation |
The bridge selection function will select a number of bridge samples based on the input data. It selects samples with good detection, which passes QC and cover a good range of the data. If possible, Olink recommends 8-16 bridge samples. When running the selector, Olink recommends starting at sampleMissingFreq = 0.10 which represents a maximum of 10\ data below LOD per sample. If there are not enough samples output, increase to 20\ The function accepts NPX Excel files with data < LOD replaced.
olink_bridgeselector(df, sampleMissingFreq, n)
df |
Tibble/data frame in long format such as produced by the Olink Analyze read_NPX function. |
sampleMissingFreq |
The threshold for sample wise missingness. |
n |
Number of bridge samples to be selected. |
A "tibble" with sample IDs and mean NPX for a defined number of bridging samples. Columns include:
SampleID: Sample ID
PercAssaysBelowLOD: Percent of Assays that are below LOD for the sample
MeanNPX: Mean NPX for the sample
bridge_samples <- olink_bridgeselector(npx_data1, sampleMissingFreq = 0.1, n = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.