Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

uniqCountReport

Report number of unique and redundant elements (optional figure)


Description

Make report about number of unique and redundant elements of vector 'dat'. Note : fairly slow for long vectors !!

Usage

uniqCountReport(
  dat,
  frL = NULL,
  plotDispl = FALSE,
  tit = NULL,
  col = NULL,
  radius = 0.9,
  sizeTo = NULL,
  clockwise = FALSE,
  silent = FALSE,
  callFrom = NULL
)

Arguments

dat

(charcter or numeric vector) main input where number of unique (and redunant) should be determined

frL

(logical) optional (re-)introducing results from duplicated to shorten time of execution

plotDispl

(logical) decide if pie-type plot should be produced

tit

(character) optional title in plot

col

(character) custom colors in pie

radius

(numeric) radius passed to pie

sizeTo

(numeric or charcter) optional reference group for size-population relative adjusting overall surface of pie

clockwise

(logical) argument passed to pie

silent

(logical) suppress messages

callFrom

(character) allow easier tracking of message(s) produced

Value

vector with counts of n (total), nUnique (wo any repeated), nHasRepeated (first of repeated), nRedundant), optional figure

See Also

Examples

layout(1:2)
uniqCountReport(rep(1:7,1:7),plot=TRUE)
uniqCountReport(rep(1:3,1:3),plot=TRUE,sizeTo=rep(1:7,1:7))

wrMisc

Analyze Experimental High-Throughput (Omics) Data

v1.5.4
GPL-3
Authors
Wolfgang Raffelsberger [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.