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

View source: R/uniqueness_functions.R

uniqueness_propR Documentation

Determine Unique and Common Masses/Peaks for Two Groups

Description

Use proportion 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_prop(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

numeric value between 0 and 1, inclusive, indicating the minimum proportion of samples per group that are required for a peak to be considered present/observed in a group.

absn_thresh

numeric value between 0 and 1, inclusive, indicating the maximum proportion 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.