replaceElement: Replaces elements of a vector based on the dictonary provided

Description Usage Arguments Value

View source: R/ogboxFunctions.R

Description

Replaces elements of a vector based on the dictonary provided

Usage

1
2
replaceElement(vector, dictionary = NULL, labels = NULL,
  NAreplace = NA)

Arguments

vector

a vector

dictionary

a named vector or just a vector if labels are provided

labels

a character vector

NAreplace

that to put instead of NAs

Value

A list with $newVector and $dictionary.


PavlidisLab/markerGeneProfile documentation built on July 11, 2019, 11:42 p.m.