uniqueness_nsamps: Determine Unique and Common Masses/Peaks for Two Groups

View source: R/uniqueness_functions.R

uniqueness_nsampsR Documentation

Determine Unique and Common Masses/Peaks for Two Groups

Description

Use number of samples for which a mass/peak is present to compare two groups and determine which peaks are uniquely expressed in each group

Usage

uniqueness_nsamps(edata_df, group_df, data_scale, pres_thresh, absn_thresh)

Arguments

edata_df

data.frame giving samples expression profiles for samples belonging to one of two groups

group_df

data.frame giving sample names and column indicating group membership. Column indicating group membership should be named 'Group' and have exactly two unique values

data_scale

character string giving scale the data is on. Current acceptable values are: "log", "log2", "log10", "abundance", "pres"

pres_thresh

integer value indicating the minimum number of samples per group that are required for a peak to be considered present/observed in a group.

absn_thresh

integer value indicating the maximum number of samples per group that can be observed for a peak to be considered absent in a group.

Author(s)

Lisa Bramer


EMSL-Computing/fticRanalysis documentation built on Dec. 18, 2024, 9:51 p.m.