Learn R Programming

gsrc (version 1.1)

remove_suffix: Remove suffix from sample names

Description

Remove suffix from sample names

Usage

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

Run this code
if(require(brassicaData)){
data(raw_napus, package = "brassicaData")

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

Run the code above in your browser using DataLab