This directory contains some files describing the HVG detection machinery in scran.
In theory/:
description.texfocuses on the theoretical basis behindtrendVaranddecomposeVar.comparison.texconsiders the differences between the possible HVG detection methods in scran.
In real/:
fitTrendVar_test.Rmdtests the behaviour of thefitTrendVar()on a range of scenarios.fitTrendCV2_test.Rmdtests the behaviour of thefitTrendCV2()on a range of scenarios.
In simulations/:
powercontains simulation scripts to compare the performance ofdecomposeVarwithtechnicalCV2andimprovedCV2for detecting HVGs. Each simulation script describes a different type of variability, though this is not particularly important for gene-wise testing.alphaassesses the type I error rate for the tests indecomposeVar,technicalCV2andimprovedCV2.filterexamines the motivation for the default filter threshold intrendVar.