in general , the present disclosure is directed toward a novel hybrid spintronic device for converting chemical absorption into a change in magnetoresistance . this device uses a novel magnetic material which depends on the attachment of an organic structure to a metallic film for its magnetism . changes in the chemical environment lead to absorption on the surface of this organometallic bilayer and thus modify its magnetic properties . the change in magnetic properties , in turn , leads to a change in the resistance of a magnetoresistive structure or a spin transistor structure , allowing a standard electrical detection of the chemical change in the sensor surface .