I am trying to make a Granges object with a list of genes that I have downloaded from MGI.
This is the column with strand info
> mm9genes$X.3
gives me
Levels: - +
However, when I use this code..
`GRanges(seqnames = Rle("chr12", 322),
ranges = IRanges(start = mm9genes$X, end = mm9genes$X.1),
strand = Rle(mm9genes$X.3),
symbol = mm9genes$X.2)`
I get error
Error in .local(x, ...) : invalid strand levels in 'x': - , +
I am pretty new to this and trying to learn from. Will appreciate any help.