On 2020-12-11 19:16 +0500, Anas Jamshed wrote:> On Fri, Dec 11, 2020 at 6:37 PM Rasmus Liland wrote:
> > On 2020-12-11 18:08 +0500, Anas Jamshed wrote:
> > >
> >
> > Anas Jamshed,
> >
> > I found this
> >
> > https://support.bioconductor.org/p/130817/
> >
> > maybe it helps ...
>
> still have the problem in 2nd error
>
> > > Also when i tried to:
> > >
> > > #Load the target files which the information about the sample and
> > > their corresponding group by
> > >
> > > targets<-read.delim(file="targets.txt", header=T)and
create design and
> > > fit the design by
> > > design <- model.matrix(~0+ conditions)
> > >
> > > It gives me the error :
> > >
> > > Error in model.frame.default(object, data, xlev = xlev) :
> > > invalid type (closure) for variable 'conditions'
Glad my suggestion helped.
Do state how you solved that for someone
else to find it another time (maybe
yourself even ... ).
One problem at a time ... pocito pocito
...
Read here or something
https://stackoverflow.com/questions/33023508/why-am-i-getting-the-error-invalid-type-closure
...
> https://postimg.cc/1fKPj1xg
Right, it says the object is not a
matrix ... there is a flag there called
?data,? perhaps look into specifying you
matrix there ...
It would be more helpful for me as a
helper if you stated your problem in a
small example code snippet, instead of
just the error. I might lack the
sufficient amount of teaching emphathy
there to se clearly through images and
error messages from a distance. E.g.
use dput to paste some small dataset
here ...
R