get_bestwind | R Documentation |
Get the best m/z windows for DIA according a number of window and the report-lib from DIA-nn.
get_bestwind(
data,
n_window = 25,
per_frac = FALSE,
overlap = 0,
window_size = NULL
)
data |
The report-lib data from DIA-nn which contains the PrecursorMz column. It can be a path to the file or the dataframe corresponding to the file (need to have FileName and PrecursorMz columns in that case). |
n_window |
The number of windows you want to have. |
per_frac |
If |
overlap |
A fixed overlap between windows. Default is 0. |
window_size |
A fix m/z window size. Default is NULL but if numeric, it will compute n windows of same size. |
In the end, the distribution of the PrecursorMz per window will be uniform.
A list containing a data frame with FileName, PrecursorMz and a bins column; four plots corresponding to bar plots / histogramm from the distribution of the PrecursorMz with and without the window selection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.