outlierDetectP: outlierDetectP Function

View source: R/outlierDetectP.R

outlierDetectPR Documentation

outlierDetectP Function

Description

This function allows to identify significant abnormal event identified from outlier analysis.

Usage

outlierDetectP(
  outlier_events,
  z_cutoff = 2,
  nGenes,
  group_by = "PTID",
  alternative = "two.sided"
)

Arguments

outlier_events

Identified outlier events

z_cutoff

|Z| cutoff threshold to find potential outliers (Eg. z_cutoff= 2, equals to Mean/SD 2)

nGenes

Number of background genes/features

group_by

Column name to use for groupwise outlier analysis. Default is PTID (donor or participant id).

alternative

alternative hypothesis, must be one of "one.sided" or "two.sided" (default)

Value

PALMO object with outlier event p value dataframe

PALMO object with outlier event p value

Examples

## Not run: 
outlierDetectP(outlier_events=outlier_res, z_cutoff=2, nGenes=1043)

## End(Not run)

aifimmunology/PALMO documentation built on Oct. 21, 2022, 7:39 p.m.