Session2Df: Session 2 Df

View source: R/seqNdisplayR.R

Session2DfR Documentation

Session 2 Df

Description

Converts session information to data frame as in Excel import sheet.

Usage

Session2Df(
  .samples,
  .colors,
  .bigwigs,
  .bigwig_dirs,
  .parameters,
  strand_regex = c(`+` = "plus", `-` = "minus"),
  factorize = FALSE,
  level = 0
)

Arguments

.samples

samples object as used by seqNdisplayR

.colors

colors object as used by seqNdisplayR

.bigwigs

bigwigs object as used by seqNdisplayR

.bigwig_dirs

bigwig_dirs as used in seqNdisplayR

.parameters

list of parameters as used in seqNdisplayR

strand_regex

named vector c('+': ..., '-': ...) for regex for converting plus strand to minus strand bigwig names

factorize

TRUE/FALSE. Default: FALSE

level

do not change, required internally during recursion, defaults=0.

Details

Converts session information to dataframe as specified in Excel import sheet but using all-filled mode. Batch information is obtained from parameters.

Value

A dataframe with columns: color, bigwig_directory, bigwig_file, strand, batch, dataset and optionally subgroup_1, subgroup_2, ...

Author(s)

MS


THJlab/seqNdisplayR documentation built on Nov. 13, 2024, 10:36 a.m.