Roseanne Barr has thanked John Goodman for defending her following her controversial tweet scandal.

The disgraced 'Roseanne' star - whose sitcom was cancelled by ABC after she sparked a racism storm by calling former White House adviser Valerie Jarrett an ''ape'' in a very controversial tweet - has shown her gratitude to her former on-screen husband for claiming she isn't racist.

Taking to Twitter, she wrote: ''I thank John Goodman for speaking truth about me, despite facing certain peril from producers and network.''

Her tweet comes after John, 66, spoke out to defend the 65-year-old actress and admitted he was ''very depressed'' following the US broadcasters decision to axe the show.

He said: ''I thought, 'OK, it's just show business, I'm going to let it go.' But I went through a period, about a month, where I was very depressed. I'm a depressive anyway, so any excuse that I can get to lower myself, I will.

''But that had a great deal to do with it, more than I wanted to admit ... I was surprised. I'll put it this way, I was surprised at the response ... And that's probably all I should say about it.

''I know, I know for a fact that she's not a racist. She was going through hell at the time. And she's still going through hell.''

After the cancellation of 'Roseanne', ABC announced plans to launch a spin-off show entitled 'The Conners', which will not star Roseanne herself but will see John reprise his role as Dan Conner.

The spin-off is set to premiere in October, and Rosanne recently claimed the network would be ''lucky'' if the show is successful without her.

She said: ''I'd tell more jokes about myself than I do anybody else, because to me, comedy is very personal, and that's what makes it funny. That's what made people like the 'Roseanne' show - because they saw themselves in [me], or have an aunt, or their mom or their sister, somebody in their family was, you know, a loud, outspoken woman who loved her family.

''That was what I brought to television and what kicked everybody's a** in the ratings. [ABC] should be so lucky that they'll ever get anywhere near that. And they can't take that away from me, no matter what's happened.''