Dr. John Warren Davis, 92, a retired college president and former government official who was a consultant to The NAACP in New York, died Saturday at his home in Englewood, N.J., after a heart attack.

Dr. Davis was president of West Virginia State College in Institute, W.Va., from 1919 to 1953. He was director of the Technical Cooperation Administration, Point IV, program in Liberia from 1952 to 1954.

He had been affiliated with the NAACP's Legal Defense and Education Fund in New York City since 1955. Over the years he administered scholarship programs for black undergraduate and law students. He had been a consultant since 1972.

Dr. Davis was a native of Milledgeville, Ga., and was a 1911 graduate of Morehouse College. He did graduate work at the University of Chicago and was awarded honorary doctorates by West Virginia State College and Harvard and Howard universities.

He was a member of the National Science Board of the National Science Foundation from 1950 to 1956 and had been a consultant to the old U.S. Information Agency on minority hiring.

Survivors include his wife, Ethel McGhee Davis, of Englewood; two daughters, Dorothy D. McDaniel of Memphis, Tenn., and Caroline D. Gleiter of Falls Church; two grandchildren, and three great-grandchildren.

The family suggests that expressions of sympathy be in the form of contributions to the NAACP Legal Defense and Education Fund in New York City or to West Virginia State College in Institute.