computeFDR {scp} | R Documentation |
The functions takes the posterior error probabilities (PEPs) from
the given assay's rowData
and adds a new variable to it (called
.FDR
) that contains the computed false discovery rates (FDRs).
computeFDR(object, i, groupCol, pepCol)
object |
A |
i |
A |
groupCol |
A |
pepCol |
A |
A QFeatures
object.
data("scp1") scp1 <- computeFDR(scp1, i = 1, groupCol = "Sequence", pepCol = "dart_PEP") ## Check results rowDataToDF(scp1, 1, c("dart_PEP", ".FDR"))