We prove L-p and weighted L-p estimates for bounded functions of a selfadjoint operator satisfying a pointwise Gaussian estimate for its heat kernel. As an application, we obtain weighted estimates for fractional powers of an electromagnetic Schrodinger operator with singular coefficients. The proofs are based on a modification of techniques due to Hebisch (1990) [17] and Auscher and Martell (2006) [4]. (C) 2011 Elsevier Inc. All rights reserved.