Skip to content

Commit

Permalink
added script interface tests for transform_coordinate_matrices
Browse files Browse the repository at this point in the history
  • Loading branch information
gregcaporaso committed Aug 6, 2012
1 parent b98644c commit d30f614
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 0 deletions.
@@ -0,0 +1,14 @@
pc vector number 1 2 3
PC.481 0.0638304589348 -0.00490758569779 -0.0923164880733
PC.607 -0.110549607752 -0.377166674884 0.198254764926
PC.634 -0.331541922372 0.107719640962 -0.119821161042
PC.635 -0.246957006163 -0.0216451749953 0.102707033876
PC.593 0.20852982403 -0.195387896116 -0.258966588196
PC.636 -0.267815455304 0.137925442584 -0.0829164131144
PC.355 0.194463698068 0.220869826632 -0.00758466985944
PC.354 0.29157627739 -0.0278953470409 -0.0537984374928
PC.356 0.198463733168 0.160487768557 0.314441958975


eigvals 0.437898136567 0.19213311614 0.153949559266
% variation explained 45.6712037453 15.4051275969 11.3030491105
@@ -0,0 +1,14 @@
pc vector number 1 2 3
PC.481 0.21881262298 0.0479674761233 0.101787510725
PC.607 -0.0728497895807 -0.205244146146 0.0684657756521
PC.634 -0.28702312514 0.0900440883841 -0.0621110188023
PC.635 -0.170976118358 -0.0599182360449 0.0862072448543
PC.593 -0.0433240444231 -0.17940023983 -0.178223202243
PC.636 -0.299593010051 0.0536276853166 -0.215162227127
PC.355 0.114498618877 0.126161410045 0.0399185378865
PC.354 0.329666971866 0.0820169894006 0.0847739278894
PC.356 0.210787873831 0.0447449727505 0.0743434511643


eigvals 0.437898136567 0.19213311614 0.153949559266
% variation explained 45.6712037453 15.4051275969 11.3030491105
@@ -0,0 +1,2 @@
FP1 FP2 Included_dimensions MC_p_value Count_better M^2
unweighted_unifrac_pc.txt weighted_unifrac_pc.txt 3 0.000 0 0.343
@@ -0,0 +1,14 @@
pc vector number 1 2 3
PC.481 0.0638304589348 -0.00490758569779 -0.0923164880733
PC.607 -0.110549607752 -0.377166674884 0.198254764926
PC.634 -0.331541922372 0.107719640962 -0.119821161042
PC.635 -0.246957006163 -0.0216451749953 0.102707033876
PC.593 0.20852982403 -0.195387896116 -0.258966588196
PC.636 -0.267815455304 0.137925442584 -0.0829164131144
PC.355 0.194463698068 0.220869826632 -0.00758466985944
PC.354 0.29157627739 -0.0278953470409 -0.0537984374928
PC.356 0.198463733168 0.160487768557 0.314441958975


eigvals 0.437898136567 0.19213311614 0.153949559266
% variation explained 45.6712037453 15.4051275969 11.3030491105
@@ -0,0 +1,14 @@
pc vector number 1 2 3
PC.481 0.21881262298 0.0479674761233 0.101787510725
PC.607 -0.0728497895807 -0.205244146146 0.0684657756521
PC.634 -0.28702312514 0.0900440883841 -0.0621110188023
PC.635 -0.170976118358 -0.0599182360449 0.0862072448543
PC.593 -0.0433240444231 -0.17940023983 -0.178223202243
PC.636 -0.299593010051 0.0536276853166 -0.215162227127
PC.355 0.114498618877 0.126161410045 0.0399185378865
PC.354 0.329666971866 0.0820169894006 0.0847739278894
PC.356 0.210787873831 0.0447449727505 0.0743434511643


eigvals 0.437898136567 0.19213311614 0.153949559266
% variation explained 45.6712037453 15.4051275969 11.3030491105
14 changes: 14 additions & 0 deletions transform_coordinate_matrices/randomized_coords2.txt
@@ -0,0 +1,14 @@
pc vector number 1 2 3 4 5 6 7 8 9
PC.481 -0.0654798567342 -0.184823737921 -0.0637965785111 0.0268092233697 -0.0420895059406 -0.0169249681412 0.0398001299531 -0.0296863311837 -1.27921009149e-09
PC.607 -0.117606869147 -0.132486011113 0.149377506815 -0.0393836953387 -0.000389038238904 0.0348973250939 -0.0207642817698 0.0156714540583 -1.27921009149e-09
PC.634 0.124914975528 0.0966706973216 -0.00545874949428 0.0593182832232 -0.0768343496802 0.0591013572979 -0.018350025279 -0.000886758444446 -1.27921009149e-09
PC.635 0.312765913062 0.0321681120612 0.0339138158664 -0.0191007393533 0.0538835975518 0.00286078230896 -0.00700402012538 -0.0568601441515 -1.27921009149e-09
PC.593 -0.122228908302 -0.0490372047586 -0.124473956135 0.0212285574904 0.0575572941025 0.0159368412041 -0.0544991060288 0.0141740624287 -1.27921009149e-09
PC.636 -0.312183427853 0.102663904306 0.0730268091801 0.0684590726297 0.0136192291463 -0.0543158263698 -0.000774338247424 -0.00964530969112 -1.27921009149e-09
PC.355 0.221524011802 0.00968874610703 -0.0148320150617 -0.0518441311887 -0.0450738050794 -0.0730917307467 -0.0288082888483 0.0253039606509 -1.27921009149e-09
PC.354 -0.247212336116 0.114045520784 -0.0533413964525 -0.0985096114195 -0.00692033409887 0.0233685039609 0.0319232374225 -0.00506526778768 -1.27921009149e-09
PC.356 0.205506497761 0.011109973213 0.00558456379307 0.0330230405871 0.0462469122374 0.00816771539198 0.0584766929232 0.0469943341206 -1.27921009149e-09


eigvals 0.396363400998 0.0882605772086 0.0514867490385 0.0247730818534 0.0182952785638 0.0141648239126 0.0106402718342 0.00752908591152 1.47274061234e-17
% variation explained 64.8168111607 14.4331417872 8.41956366632 4.05111108724 2.99180401827 2.31635593588 1.73999034329 1.2312220011 2.40835430109e-15
14 changes: 14 additions & 0 deletions transform_coordinate_matrices/unweighted_unifrac_pc.txt
@@ -0,0 +1,14 @@
pc vector number 1 2 3 4 5 6 7 8 9
PC.636 -0.272047105162 0.140104749894 -0.0842265437319 0.0863779261392 -0.057374827087 0.262948380589 0.0804867280265 -0.0934081912951 -4.35844268354e-09
PC.481 0.0648390196701 -0.00498512858747 -0.0937751456898 0.185438213781 0.295182541671 -0.0445211457846 0.113342879849 0.0971499817897 -4.35844268354e-09
PC.354 0.296183362935 -0.0283361107795 -0.0546484860837 -0.129877228637 0.146641018371 0.0231169096028 -0.108018848285 -0.209686434276 -4.35844268354e-09
PC.635 -0.250859079622 -0.0219871821494 0.104329868543 -0.230555646414 0.110768024219 0.0761832779312 -0.126113099107 0.152680443187 -4.35844268354e-09
PC.593 0.211824724242 -0.198475145737 -0.26305842048 -0.11110855294 -0.177107512712 0.0233078711154 0.0987382595269 0.0965622622079 -4.35844268354e-09
PC.356 0.201599582917 0.163023574574 0.319410336434 -0.0765241650825 -0.0653137452797 -0.0330405981215 0.192211936393 0.00296297275835 -4.35844268354e-09
PC.355 0.197536344788 0.224359706518 -0.00770451233497 0.16512758054 -0.129657015561 -0.0191305130927 -0.220836469232 0.0816324402606 -4.35844268354e-09
PC.607 -0.112296359938 -0.383126141654 0.201387312848 0.159804117221 -0.0693552798656 -0.0226990904943 -0.0497932995677 -0.0514630519359 -4.35844268354e-09
PC.634 -0.33678048983 0.109421677922 -0.121714409505 -0.0486822446075 -0.0537832037549 -0.266165091746 0.0199819123971 -0.0764304226971 -4.35844268354e-09


eigvals 0.479432872137 0.296005655072 0.256412369493 0.18524797092 0.184344433066 0.150822285907 0.145239375186 0.109929887835 1.70964203632e-16
% variation explained 26.52559633 16.3771134066 14.1865345546 10.2492198244 10.1992297595 8.34454895782 8.03566309552 6.08209407153 9.45894142009e-15
14 changes: 14 additions & 0 deletions transform_coordinate_matrices/weighted_unifrac_pc.txt
@@ -0,0 +1,14 @@
pc vector number 1 2 3 4 5 6 7 8 9
PC.636 -0.312183427853 0.102663904306 0.0730268091801 0.0684590726297 0.0136192291463 -0.0543158263698 -0.000774338247424 -0.00964530969112 -1.27921009149e-09
PC.481 0.221524011802 0.00968874610703 -0.0148320150617 -0.0518441311887 -0.0450738050794 -0.0730917307467 -0.0288082888483 0.0253039606509 -1.27921009149e-09
PC.354 0.312765913062 0.0321681120612 0.0339138158664 -0.0191007393533 0.0538835975518 0.00286078230896 -0.00700402012538 -0.0568601441515 -1.27921009149e-09
PC.635 -0.122228908302 -0.0490372047586 -0.124473956135 0.0212285574904 0.0575572941025 0.0159368412041 -0.0544991060288 0.0141740624287 -1.27921009149e-09
PC.593 -0.117606869147 -0.132486011113 0.149377506815 -0.0393836953387 -0.000389038238904 0.0348973250939 -0.0207642817698 0.0156714540583 -1.27921009149e-09
PC.356 0.205506497761 0.011109973213 0.00558456379307 0.0330230405871 0.0462469122374 0.00816771539198 0.0584766929232 0.0469943341206 -1.27921009149e-09
PC.355 0.124914975528 0.0966706973216 -0.00545874949428 0.0593182832232 -0.0768343496802 0.0591013572979 -0.018350025279 -0.000886758444446 -1.27921009149e-09
PC.607 -0.0654798567342 -0.184823737921 -0.0637965785111 0.0268092233697 -0.0420895059406 -0.0169249681412 0.0398001299531 -0.0296863311837 -1.27921009149e-09
PC.634 -0.247212336116 0.114045520784 -0.0533413964525 -0.0985096114195 -0.00692033409887 0.0233685039609 0.0319232374225 -0.00506526778768 -1.27921009149e-09


eigvals 0.396363400998 0.0882605772086 0.0514867490385 0.0247730818534 0.0182952785638 0.0141648239126 0.0106402718342 0.00752908591152 1.47274061234e-17
% variation explained 64.8168111607 14.4331417872 8.41956366632 4.05111108724 2.99180401827 2.31635593588 1.73999034329 1.2312220011 2.40835430109e-15

0 comments on commit d30f614

Please sign in to comment.