Some background / why FunPat. It seemed like fun, so I went through the trouble of formatting data and collapsing replicates on a data set that I have. FunPat seems like a good way to analyze patterns in data without purely doing a timepoint-by-timepoint differential expression test. It also seems to handle time series data in a way that is fast and easy, but not as intensive as other methods. So I would like to make this work.
Going through the vignette... I ran into some trouble at the first FunPat dependent test...
rank.res <- SEL.TS.AREA(replicates=data.replicates, data1=data.east.robust, data2=data.west.robust)
Error in plot.window(...) : need finite 'xlim' values
​Generally, I understand that this means there is a problem with the data that is being plotted -- perhaps that the x-values are all NA (not the case here) or that the data has somewhere been rounded to Inf / -Inf. However, this isn't extremely helpful for debugging, since it occurs within the FunPat package. If anyone here knows anything about this package, then experience with running it successfully is appreciated.
replicates:
> head(data.replicates)
[,1] [,2]
[1,] "HA2015_E_1" "HA2015_W_1"
[2,] "HA2015_E_2" "HA2015_W_2"
[3,] "HA2015_E_3" "HA2015_W_3"
[4,] "HA2015_E_4" "HA2015_W_4"
[5,] "HA2015_E_5" "HA2015_W_5"
[6,] "HA2015_E_6" "HA2015_W_6"
> typeof(data.replicates)
[1] "character"
Conditions are E vs W and time points run 1-12 -- where each column that these represent are the mean of the TMM normalized, variance stabilized counts in 6 biological replicates. For example, HA2015_E_1
is the mean of normalized data in original columns / timepoints HA2015_E_1A
, HA2015_E_1B
, ... , HA2015_E_1F
. After normalization, the data is filtered so that each gene with counts per million < 10 in < 3 total time points is removed. To make the final data points, I multiplied the normalized, stabilized cpm data (all of this is from edgeR) by 1e6
> head(data.east.robust)
HA2015_E_1 HA2015_E_2 HA2015_E_3 HA2015_E_4 HA2015_E_5
cp_gi_88656873.10 7515453 9725227 10727302 10255309 8591035
cp_gi_88656873.15 17622543 17279002 15038259 15230942 11827528
cp_gi_88656873.31 33014585 38909593 29762208 37263689 32190635
cp_gi_88656873.34 44122567 42952855 40310644 40730033 28628665
cp_gi_88656873.35 54416054 43932669 50318208 45582272 25039442
cp_gi_88656873.36 421778142 354396518 420075052 366674208 202177958
HA2015_E_6 HA2015_E_7 HA2015_E_8 HA2015_E_9 HA2015_E_10
cp_gi_88656873.10 9829677 9649200 8621957 5866552 6220681
cp_gi_88656873.15 13451452 14633426 14722655 17123265 15943894
cp_gi_88656873.31 34357137 38535700 36424192 37357025 31996346
cp_gi_88656873.34 27319291 27439998 37216480 37828356 27408666
cp_gi_88656873.35 20091613 21851825 38068246 39695883 27843067
cp_gi_88656873.36 169344826 182818905 291835384 297642154 219120517
HA2015_E_11 HA2015_E_12
cp_gi_88656873.10 9500501 7699961
cp_gi_88656873.15 21478783 16874638
cp_gi_88656873.31 45934377 36182478
cp_gi_88656873.34 58278341 53139325
cp_gi_88656873.35 57475077 63319437
cp_gi_88656873.36 447381294 495082542
> head(data.west.robust)
HA2015_W_1 HA2015_W_2 HA2015_W_3 HA2015_W_4 HA2015_W_5
cp_gi_88656873.10 8705507 10493190 10624282 10662117 9297593
cp_gi_88656873.15 20857781 18764049 17357275 16000770 12497117
cp_gi_88656873.31 38125384 41970061 32225874 34404035 37216502
cp_gi_88656873.34 60130445 43403453 40908678 33370083 30595589
cp_gi_88656873.35 63256459 46576562 50863253 48691533 28915060
cp_gi_88656873.36 529199609 371688856 441140850 409858560 242264349
HA2015_W_6 HA2015_W_7 HA2015_W_8 HA2015_W_9 HA2015_W_10
cp_gi_88656873.10 9688969 11052243 9525094 9070560 6051227
cp_gi_88656873.15 14216534 17881352 18182641 22626263 14543754
cp_gi_88656873.31 36686429 46805026 39827875 46339836 38197875
cp_gi_88656873.34 29431034 34863551 41118305 46427171 39922114
cp_gi_88656873.35 22425231 28769374 37997640 42338485 47715828
cp_gi_88656873.36 179806405 226524764 284215981 344190180 345058873
HA2015_W_11 HA2015_W_12
cp_gi_88656873.10 8564632 6967818
cp_gi_88656873.15 20864919 16855964
cp_gi_88656873.31 37395339 33958158
cp_gi_88656873.34 45881738 42315958
cp_gi_88656873.35 46794660 54719944
cp_gi_88656873.36 391511575 391274551