View source: R/Main_functions.R
row_stoichio | R Documentation |
Compute the stoichiometry of interaction using the method described in ...
row_stoichio( df, idx_group_1, idx_group_2, idx_bait, Npep, log = TRUE, substract_ctrl = TRUE, use_mean_for_bait = TRUE, idx_group_1_mean, idx_group_2_mean )
df |
a data frame |
idx_group_1 |
column indexes corresponding to the first group (bait background) |
idx_group_2 |
column indexes corresponding to the second group (ctrl background) |
idx_bait |
row index for the bait protein |
Npep |
numeric vector containing the number of theoretically observable peptides for each protein |
log |
logical, use the geometric mean instead of the arithmetic mean |
substract_ctrl |
logical, substract ctrl intensities in the calculation of stoichiometries |
use_mean_for_bait |
logical, average bait intensities across all conditions to compute interaction stoichiometries |
idx_group_1_mean |
if |
idx_group_2_mean |
if |
A numeric vector of interaction stoichiometries
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.