remove_suffix: Remove suffix from sample names

Description Usage Arguments Value Examples

View source: R/tools.R

Description

Remove suffix from sample names

Usage

1
remove_suffix(dat, suffix)

Arguments

dat

List object, containing at least two matrices "intensity" and "theta".

suffix

Vector of character (e.g. "_Grn" or "Red").

Value

List with two matrices "intensity" (signal intensities) and "theta" (genotype value).

Examples

1
2
3
4
5
6
if(require(brassicaData)){
data(raw_napus, package = "brassicaData")

dat <- intens_theta(raw_napus)
dat <- remove_suffix(dat, "_Grn")
}

grafab/gsrc documentation built on May 14, 2017, 3 p.m.