paired_times: Generate a subset matrix with paired times.

Description Usage Arguments Value Examples

View source: R/paired_times.R

Description

Generate a subset matrix with paired times.

Usage

1
paired_times(data, first, second, common)

Arguments

data

input matrix with each rowname including an ID, a common pattern and a sampling time.

first

pattern associated with the first of the two sampling times.

second

pattern associated with the second of the two sampling times.

common

pattern that separates the ID and the sampling time.

Value

A matrix with the same number of columns as input and the samples from both samples times.

Examples

1
2
t1_t2 <- paired_times(data = clr, first = "_1",
                      second = "_25", common = "_0_")

microSTASIS documentation built on Sept. 14, 2021, 9:07 a.m.