Cargando…

knnAUC: an open-source R package for detecting nonlinear dependence between one continuous variable and one binary variable

BACKGROUND: Testing the dependence of two variables is one of the fundamental tasks in statistics. In this work, we developed an open-source R package (knnAUC) for detecting nonlinear dependence between one continuous variable X and one binary dependent variables Y (0 or 1). RESULTS: We addressed th...

Descripción completa

Detalles Bibliográficos
Autores principales: Li, Yi, Liu, Xiaoyu, Ma, Yanyun, Wang, Yi, Zhou, Weichen, Hao, Meng, Yuan, Zhenghong, Liu, Jie, Xiong, Momiao, Shugart, Yin Yao, Wang, Jiucun, Jin, Li
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2018
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6249767/
https://www.ncbi.nlm.nih.gov/pubmed/30466390
http://dx.doi.org/10.1186/s12859-018-2427-4
_version_ 1783372813623623680
author Li, Yi
Liu, Xiaoyu
Ma, Yanyun
Wang, Yi
Zhou, Weichen
Hao, Meng
Yuan, Zhenghong
Liu, Jie
Xiong, Momiao
Shugart, Yin Yao
Wang, Jiucun
Jin, Li
author_facet Li, Yi
Liu, Xiaoyu
Ma, Yanyun
Wang, Yi
Zhou, Weichen
Hao, Meng
Yuan, Zhenghong
Liu, Jie
Xiong, Momiao
Shugart, Yin Yao
Wang, Jiucun
Jin, Li
author_sort Li, Yi
collection PubMed
description BACKGROUND: Testing the dependence of two variables is one of the fundamental tasks in statistics. In this work, we developed an open-source R package (knnAUC) for detecting nonlinear dependence between one continuous variable X and one binary dependent variables Y (0 or 1). RESULTS: We addressed this problem by using knnAUC (k-nearest neighbors AUC test, the R package is available at https://sourceforge.net/projects/knnauc/). In the knnAUC software framework, we first resampled a dataset to get the training and testing dataset according to the sample ratio (from 0 to 1), and then constructed a k-nearest neighbors algorithm classifier to get the yhat estimator (the probability of y = 1) of testy (the true label of testing dataset). Finally, we calculated the AUC (area under the curve of receiver operating characteristic) estimator and tested whether the AUC estimator is greater than 0.5. To evaluate the advantages of knnAUC compared to seven other popular methods, we performed extensive simulations to explore the relationships between eight different methods and compared the false positive rates and statistical power using both simulated and real datasets (Chronic hepatitis B datasets and kidney cancer RNA-seq datasets). CONCLUSIONS: We concluded that knnAUC is an efficient R package to test non-linear dependence between one continuous variable and one binary dependent variable especially in computational biology area. ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (10.1186/s12859-018-2427-4) contains supplementary material, which is available to authorized users.
format Online
Article
Text
id pubmed-6249767
institution National Center for Biotechnology Information
language English
publishDate 2018
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-62497672018-11-26 knnAUC: an open-source R package for detecting nonlinear dependence between one continuous variable and one binary variable Li, Yi Liu, Xiaoyu Ma, Yanyun Wang, Yi Zhou, Weichen Hao, Meng Yuan, Zhenghong Liu, Jie Xiong, Momiao Shugart, Yin Yao Wang, Jiucun Jin, Li BMC Bioinformatics Software BACKGROUND: Testing the dependence of two variables is one of the fundamental tasks in statistics. In this work, we developed an open-source R package (knnAUC) for detecting nonlinear dependence between one continuous variable X and one binary dependent variables Y (0 or 1). RESULTS: We addressed this problem by using knnAUC (k-nearest neighbors AUC test, the R package is available at https://sourceforge.net/projects/knnauc/). In the knnAUC software framework, we first resampled a dataset to get the training and testing dataset according to the sample ratio (from 0 to 1), and then constructed a k-nearest neighbors algorithm classifier to get the yhat estimator (the probability of y = 1) of testy (the true label of testing dataset). Finally, we calculated the AUC (area under the curve of receiver operating characteristic) estimator and tested whether the AUC estimator is greater than 0.5. To evaluate the advantages of knnAUC compared to seven other popular methods, we performed extensive simulations to explore the relationships between eight different methods and compared the false positive rates and statistical power using both simulated and real datasets (Chronic hepatitis B datasets and kidney cancer RNA-seq datasets). CONCLUSIONS: We concluded that knnAUC is an efficient R package to test non-linear dependence between one continuous variable and one binary dependent variable especially in computational biology area. ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (10.1186/s12859-018-2427-4) contains supplementary material, which is available to authorized users. BioMed Central 2018-11-22 /pmc/articles/PMC6249767/ /pubmed/30466390 http://dx.doi.org/10.1186/s12859-018-2427-4 Text en © The Author(s). 2018 Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
spellingShingle Software
Li, Yi
Liu, Xiaoyu
Ma, Yanyun
Wang, Yi
Zhou, Weichen
Hao, Meng
Yuan, Zhenghong
Liu, Jie
Xiong, Momiao
Shugart, Yin Yao
Wang, Jiucun
Jin, Li
knnAUC: an open-source R package for detecting nonlinear dependence between one continuous variable and one binary variable
title knnAUC: an open-source R package for detecting nonlinear dependence between one continuous variable and one binary variable
title_full knnAUC: an open-source R package for detecting nonlinear dependence between one continuous variable and one binary variable
title_fullStr knnAUC: an open-source R package for detecting nonlinear dependence between one continuous variable and one binary variable
title_full_unstemmed knnAUC: an open-source R package for detecting nonlinear dependence between one continuous variable and one binary variable
title_short knnAUC: an open-source R package for detecting nonlinear dependence between one continuous variable and one binary variable
title_sort knnauc: an open-source r package for detecting nonlinear dependence between one continuous variable and one binary variable
topic Software
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6249767/
https://www.ncbi.nlm.nih.gov/pubmed/30466390
http://dx.doi.org/10.1186/s12859-018-2427-4
work_keys_str_mv AT liyi knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT liuxiaoyu knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT mayanyun knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT wangyi knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT zhouweichen knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT haomeng knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT yuanzhenghong knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT liujie knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT xiongmomiao knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT shugartyinyao knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT wangjiucun knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable
AT jinli knnaucanopensourcerpackagefordetectingnonlineardependencebetweenonecontinuousvariableandonebinaryvariable