Mercurial > repos > iarc > mutspec
comparison mutspecStat_wrapper.sh @ 4:916846f73e25 draft
Uploaded
author | iarc |
---|---|
date | Fri, 29 Apr 2016 05:11:28 -0400 |
parents | 8c682b3a7c5b |
children | 097ae310ced0 |
comparison
equal
deleted
inserted
replaced
3:14fe7238c6d7 | 4:916846f73e25 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 ######################################### | 3 ######################################### |
4 ### SPECIFY THE NUMBER OF CPU ### | 4 ### SPECIFY THE NUMBER OF CPU ### |
5 ######################################### | 5 ######################################### |
6 cpu=1 | 6 cpu=8 |
7 | 7 |
8 | 8 |
9 | 9 |
10 | 10 |
11 | 11 |
117 if [[ -e "$output_dir/Mutational_Analysis/Figures/Estimate_Number_Signatures.png" ]]; then | 117 if [[ -e "$output_dir/Mutational_Analysis/Figures/Estimate_Number_Signatures.png" ]]; then |
118 outEstimateSign="$output_dir/Mutational_Analysis/EstimatingSignatures.html" | 118 outEstimateSign="$output_dir/Mutational_Analysis/EstimatingSignatures.html" |
119 touch $outEstimateSign | 119 touch $outEstimateSign |
120 echo "<a href='Mutational_Analysis/EstimatingSignatures.html'>Estimating the number of signatures</a><br/>" >> $html | 120 echo "<a href='Mutational_Analysis/EstimatingSignatures.html'>Estimating the number of signatures</a><br/>" >> $html |
121 echo "<br/> <center> <h2>Computed statistics for estimating the number of signatures</h2> </center> <br/>" >> $outEstimateSign | 121 echo "<br/> <center> <h2>Computed statistics for estimating the number of signatures</h2> </center> <br/>" >> $outEstimateSign |
122 echo "Several approaches have been proposed to choose the optimal number of signatures to extract with NMF. <br/> | 122 echo "Several approaches have been proposed to choose the optimal number of signatures to extract with NMF. <br/> |
123 Brunet et al. 2004, proposed to take the first number of signature for which the cophenetic coefficient starts decreasing, <br/> | 123 Brunet et al. 2004, proposed to take the first number of signature for which the cophenetic coefficient starts decreasing, <br/> |
124 Hutchins et al. 2008, suggested to choose the first value where the RSS curve presents an inflection point. <br/> | 124 Hutchins et al. 2008, suggested to choose the first value where the RSS curve presents an inflection point. <br/> |
125 Frigyesi et al. 2008, considered the smallest value at which the decrease in the RSS is lower than the decrease of the RSS obtained from random data. <br/><br/> | 125 Frigyesi et al. 2008, considered the smallest value at which the decrease in the RSS is lower than the decrease of the RSS obtained from random data. <br/><br/> |
126 The estimation are based on Brunet’s algorithm computed from 50 runs for each value of signature to estimate. <br/> <br/> | 126 The estimation are based on Brunet’s algorithm computed from 50 runs for each value of signature to estimate. <br/> <br/> |
127 The original data are shuffled for comparing the quality measures obtained with our data (Data x) and from randomized data (Data y). The curves for the actual data are in solid line, those for the randomized data are in dashed line. <br/> <br/>" >> $outEstimateSign | 127 The original data are shuffled for comparing the quality measures obtained with our data (Data x) and from randomized data (Data y). The curves for the actual data are in solid line, those for the randomized data are in dashed line. <br/> <br/>" >> $outEstimateSign |
128 echo "<img src="Figures/Estimate_Number_Signatures.png width="1000""/><br/></td>" >> $outEstimateSign | 128 echo "<img src="Figures/Estimate_Number_Signatures.png width="1000""/><br/></td>" >> $outEstimateSign |
129 else | 129 else |