filter_sample {demic}R Documentation

A function for sample filtration Input requirements: 1. have values in more than half of the contigs 2. average log2(cov) > 0 in all these contigs

Description

A function for sample filtration Input requirements: 1. have values in more than half of the contigs 2. average log2(cov) > 0 in all these contigs

Usage

filter_sample(Z, avg_cutoff, cutoff_ratio)

Arguments

Z

a matrix

avg_cutoff

threshold of average

cutoff_ratio

threshold of ratio

Value

the coefficient and p value of linear regression


[Package demic version 2.0.0 Index]