spikein.dataframe: Function to create a data frame to be used for the GLM

Description Usage Arguments Value Author(s)

Description

Function to create a data frame to be used for the GLM

Usage

1
2
3
spikein.dataframe(counts, spikeins = rownames(counts), spikein.lengths,
  spikein.labeling, samples = colnames(counts), conditions.labeling,
  debug = FALSE)

Arguments

counts

matrix with counts for each spike (rows) and each sample (columns)

spikeins

names of spike-ins, in same order as rownames of counts

spikein.lengths

length of spike-ins (vector ordered accoring to "spikes")

spikein.labeling

labeling status of spike-ins (vector ordered accoring to "spikes" consisting of "L" and "U")

samples

individual name for each sample, e.g. colnames of count table

conditions.labeling

labeling status of sample (vector consisting of "L" and "T")

debug

should debugging modus be used?

Value

dataframe containing all relevant information for the GLM

Author(s)

Carina Demel


carinademel/RNAlife documentation built on May 13, 2019, 12:43 p.m.