R/nonmissing_per_group.R
nonmissing_per_group.Rd
This function computes the number of non-missing observations for samples, based on a group designation, for every biomolecule in the dataset
nonmissing_per_group(omicsData)
an optional object of one of the classes "pepData",
"proData", "metabData", "lipidData", or "nmrData", usually created by
as.pepData
, as.proData
,
as.metabData
, as.lipidData
, or
as.nmrData
, respectively. Either omicsData or all of
e_data, groupDF, cname_id, and samp_id must be provided.
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.