[BioC] HTqPCR error

Heidi Dvinge heidi at ebi.ac.uk
Wed Feb 9 11:46:16 CET 2011


Hi Deepak,

> Hi there,
>
> I am encountering the an error while using "samples" argument in
> "readCtData". I am basically trying to use sample names from a design file
> column rather than using file names.
>
>  raw <- readCtData(files=files$FileName, path=path, SDS=TRUE, header=TRUE,
> n.features=384, feature=4, type=5, position=1, Ct=6,
> samples=files$SampleName)
>
> error is:
>
> Error in function (classes, fdef, mtable)  :
>   unable to find an inherited method for function "sampleNames<-", for
> signature "qPCRset", "factor"
>
unless you've read in your "files" object with something like
read.delim(..., as.is=TRUE), then the content of each column is probably a
factor rather than e.g. numeric or character. Does it work is you say?:

raw <- readCtData(files=files$FileName, path=path, SDS=TRUE, header=TRUE,
n.features=384, feature=4, type=5, position=1, Ct=6,
samples=as.character(files$SampleName))

HTH
\Heidi

>
> Can you please comment how can i use this option.
>
> Thank you,
> Deepak
>
> Classification:  UNCLASSIFIED
> Caveats: None
>
>
>
> Classification:  UNCLASSIFIED
> Caveats: None
>
>



More information about the Bioconductor mailing list