VarianceSlidingAssays: VarianceSlidingAssays

Description Usage Arguments Value Author(s) Examples

View source: R/popoolation.R

Description

Read multiple VarianceSliding results from popoolation

Usage

1
VarianceSlidingAssays(input.df, window.size = NULL, class = NA, ...)

Arguments

input.df

Input data fram that must have columns filename, sample, and measure

window.size

window size; if NULL, entire chromosomes are implied

class

arbitrary classification of windows, e.g. to autosomes, sex chromosomes etc.

...

extra parameters passed to readVarianceSliding

Value

WindowedSummarizedExperiment Assays consist of the requested statistics

Author(s)

Per Unneberg

Examples

1
2
3
dmel.df <- data.frame(filename = list.files(system.file("extdata", "popoolation", package = "manticore"), full.names = TRUE),
                      sample = c(rep("A", 3), rep("B", 3)), measure = rep(c("D", "pi", "theta"), 2))
mrse <- VarianceSlidingAssays(dmel.df)

percyfal/nonmodelr documentation built on Sept. 11, 2019, 10:38 a.m.