While the group of friends at Lake Geneva imagined the ghoulish possibilities of galvanism, one young woman was so horrified by the idea of reanimating corpses that she subsequently had a dream in which she saw "the pale student of unhallowed arts kneeling beside the thing he had put together." This dream inspired her to write a horror story in which a "mad scientist" creates a monster out of dead body parts, a monster that wreaks havoc and kills innocents. The author is Mary Shelley. The story, of course, is Frankenstein. Considered by many to be the first true work of science fiction, it was certainly the world's first cautionary tale about the perils of science messing around with life.
There are other examples in a post at Bulletin of the Atomic Scientists. Author Laura H. Kahn wants to encourage scientists to write more fiction, so that stories about science could be more informative, and maybe a little less horrifying. Link -Thanks, Janice!
spark of being into the lifeless thing that lay at my feet" was the inference for electricity, source project gutenberg.