Analysis of algorithms of creating and validating gene signatures with applications to data from the Cancer Genome Atlas