General Sample Size and Power Analysis for high-dimensional genomic data