nonmissing_per_group: Computes the Number of Non-Missing Data Points by Group

View source: R/nonmissing_per_group.R

nonmissing_per_groupR Documentation

Computes the Number of Non-Missing Data Points by Group

Description

This function computes the number of non-missing observations for samples, based on a group designation, for every biomolecule in the dataset

Usage

nonmissing_per_group(omicsData)

Arguments

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.

Value

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.

Author(s)

Lisa Bramer, Kelly Stratton


pmartR/pmartRqc documentation built on March 4, 2024, 3:46 p.m.