Description Usage Arguments Value Author(s) Examples
Select phosphosites that have been quantified in a given percentage of treatment groups (e.g. 0.75 as 3 out of 4 replicates) in n groups.
1 | selectGrps(mat, grps, percent, n)
|
mat |
a matrix with rows correspond to phosphosites and columns correspond to samples in replicates for different treatments. |
grps |
a string specifying the grouping (replciates). |
percent |
a percent from 0 to 1, specifying the percentage of quantified values in any treatment group. |
n |
an integer indicating n or more replicates pass the percentage filtering for a phosphosite to be included. |
a filtered matrix with at least 'percent' quantification in one or more conditions
Pengyi Yang, Taiyun Kim
1 2 3 4 | data('phospho.cells.Ins.sample')
grps = gsub('_[0-9]{1}', '', colnames(phospho.cells.Ins))
phospho.cells.Ins.filtered <- selectGrps(phospho.cells.Ins, grps, 0.5, n=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.