Description Usage Arguments Value Author(s) Examples
This function computes the number of non-missing observations for samples, based on a group designation, for every peptide in the dataset
1 2 |
omicsData |
an optional object of one of the classes "pepData", "proData", "metabData", or "lipidData", usually created by |
e_data |
an optional a p \times n + 1 data.frame of expression data, where p is the number of lipids observed and n is the number of samples. Each row corresponds to data for each lipid. One column specifying a unique identifier for each lipid (row) must be present. Not required if omicsData is provided. |
groupDF |
data.frame created by |
cname_id |
character string specifying the name of the column containing the biomolecule identifiers in |
samp_id |
character string specifying the name of the column containing the sample identifiers in |
a list of length two. The first element giving the total number of possible samples for each group. The second element giving a data.frame with the first column giving the peptide and the second through kth columns giving the number of non-missing observations for each of the k
groups.
Lisa Bramer, Kelly Stratton
1 2 3 4 5 6 7 | dontrun{
library(pmartRdata)
data(pep_object)
pep_object2 <- group_designation(omicsData = pep_object, main_effects = "Condition")
nonmissing_result <- nonmissing_per_group(omicsData = pep_object2)
nonmissing_result <- nonmissing_per_group(e_data = pep_object2$e_data, groupDF = attr(pep_object2, "group_DF"), cname_id = attr(pep_object2, "cnames")$edata_cname, samp_id = attr(pep_object2, "cnames")$fdata_cname)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.