se_addpheno: Append phenotype data to a SummarizedExperiment object

View source: R/rmpipeline.R

se_addphenoR Documentation

Append phenotype data to a SummarizedExperiment object

Description

Append phenotype data to a SummarizedExperiment object. Note, this data should be a data.frame with certain data specified by colnames "basename" and "gsm".

Usage

se_addpheno(phenopath, se, pdat = NULL, verbose = TRUE)

Arguments

verbose

Whether to show verbose status messages (default TRUE).

version

The data file version

ts

Data file NTP timestamp (integer)

dbn

Name of h5 file to load data matrices from.

fnstem

File name stem for new H5SE file

dsnv

Vector of the data set file names to read from h5 file.

dsn.md

Name of metadata file in h5 file.

addmd

Whether to add sample metadata.

mdpath

External path to sample metadata. If FALSE, looks for dsn.md in the dbn h5 file.

dsn.rnv

Vector for rownames datasets for dsnv sets.

dsn.cnv

Vector of colnames datasets for dsnv sets.

semd

H5SE object metadata information.

Value

New H5SE object.


metamaden/rmpipeline documentation built on Jan. 12, 2023, 3:20 p.m.