filterPSMs | R Documentation |
Functions to filter out PSMs matching. The PSMs should be stored
in a PSM
such as those produced by PSM()
.
filterPsmDecoy()
filters out decoy PSMs, i.e. those annotated
as isDecoy
.
filterPsmRank()
filters out PSMs of rank > 1.
filterPsmShared()
filters out shared PSMs, i.e. those that
match multiple proteins.
filterPsmFdr()
filters out PSMs based on their FDR.
filterPSMs(
x,
decoy = psmVariables(x)["decoy"],
rank = psmVariables(x)["rank"],
protein = psmVariables(x)["protein"],
spectrum = psmVariables(x)["spectrum"],
peptide = psmVariables(x)["peptide"],
verbose = TRUE
)
filterPsmDecoy(x, decoy = psmVariables(x)["decoy"], verbose = TRUE)
filterPsmRank(x, rank = psmVariables(x)["rank"], verbose = TRUE)
filterPsmShared(
x,
protein = psmVariables(x)["protein"],
peptide = psmVariables(x)["peptide"],
verbose = TRUE
)
filterPsmFdr(x, FDR = 0.05, fdr = psmVariables(x)["fdr"], verbose = TRUE)
x |
An instance of class |
decoy |
|
rank |
|
protein |
|
spectrum |
|
peptide |
|
verbose |
|
FDR |
|
fdr |
|
A new filtered PSM
object with the same columns as the
input x
.
Laurent Gatto
f <- msdata::ident(full.names = TRUE, pattern = "TMT")
basename(f)
id <- PSM(f)
filterPSMs(id)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.