Roseanne Barr tweeted that she was sorry to Jarrett “for making a bad joke about her politics and her looks.” Jarrett, who is African-American, advised Barack and Michelle Obama. File picture: Jordan Strauss/Invision/AP

New York — Roseanne Barr has apologized for suggesting that former White House adviser Valerie Jarrett is a product of the Muslim Brotherhood and the "Planet of the Apes."

Barr on Tuesday tweeted to Jarrett that she was sorry "for making a bad joke" about her politics and her looks. Jarrett, who is African-American, advised Barack and Michelle Obama.

Meanwhile, comic Wanda Sykes, who is a consulting producer on "Roseanne," tweeted that she would not be returning to the show.

Barr's now-deleted tweet read: "muslim brotherhood & planet of the apes had a baby=vj." It was part of a busy period on Twitter for Barr, who wrote tweets or retweeted attacks on Michael Moore, Chelsea Clinton and George Soros. In her apology, Barr said the Jarrett comment was "in bad taste."

Picture: Twitter

ABC, which produces Barr's show, "Roseanne," didn't immediately respond to a request for comment.

AP