Expanding the boundaries of local similarity analysis.
BACKGROUND
Pairwise comparison of time series data for both local and time-lagged relationships is a computationally challenging problem relevant to many fields of inquiry. The Local Similarity Analysis (LSA) statistic identifies the existence of local and lagged relationships, but determining significance through a p-value has been algorithmically cumbersome due to an intensive permutation test, shuffling rows and columns and repeatedly calculating the statistic. Furthermore, this p-value is calculated with the assumption of normality -- a statistical luxury dissociated from most real world datasets.


RESULTS
To improve the performance of LSA on big datasets, an asymptotic upper bound on the p-value calculation was derived without the assumption of normality. This change in the bound calculation markedly improved computational speed from O(pm²n) to O(m²n), where p is the number of permutations in a permutation test, m is the number of time series, and n is the length of each time series. The bounding process is implemented as a computationally efficient software package, FASTLSA, written in C and optimized for threading on multi-core computers, improving its practical computation time. We computationally compare our approach to previous implementations of LSA, demonstrate broad applicability by analyzing time series data from public health, microbial ecology, and social media, and visualize resulting networks using the Cytoscape software.


CONCLUSIONS
The FASTLSA software package expands the boundaries of LSA allowing analysis on datasets with millions of co-varying time series. Mapping metadata onto force-directed graphs derived from FASTLSA allows investigators to view correlated cliques and explore previously unrecognized network relationships. The software is freely available for download at: http://www.cmde.science.ubc.ca/hallam/fastLSA/.
Department of Microbiology & Immunology, University of British Columbia, Vancouver, BC, Canada.
W Evan
WE
Durno
Niels W
NW
Hanson
Kishori M
KM
Konwar
Steven J
SJ
Hallam
D000465:Algorithms; D019295:Computational Biology; D005260:Female; D006801:Humans; D020407:Internet; D007422:Intestines / Q000382:microbiology; D008297:Male; D054892:Metagenome; D009055:Mouth / Q000382:microbiology; D012441:Saccharomyces cerevisiae / Q000235:genetics; D012867:Skin / Q000382:microbiology; D012984:Software; D014584:User-Computer Interface