combineSamples: combineSamples

Description Usage Arguments Value

View source: R/demo_data.R

Description

Combines the BAF or Geno or two or samples given a set proportion

Usage

1
combineSamples(data.type, sample.mat, prop)

Arguments

data.type

'BAF' or 'geno'

sample.mat

Input matrix of BAF or geno values by samples

prop

Proportion to mix the 2+ samples by

Value

A weighted mean vector of BAF or a probability sampled genotype


quevedor2/CCLid documentation built on July 15, 2020, 4:05 a.m.