[BioC] cellHTS2 and channelNames

Wolfgang Huber whuber at embl.de
Sun May 5 18:02:53 CEST 2013


Dear Mark

try 

channelNames(x) = c('All#','G1/S','G2','M','Aneuploid','Apoptotic','cPARP','Envision')

See also Section 2.1 of http://cran.r-project.org/doc/manuals/r-release/R-intro.html

Best wishes
	Wolfgang

On May 4, 2013, at 11:03 pm, Mark Dane <markdane08 at gmail.com> wrote:

> Hi,
> 
> I'm using cellHTS2 for a large siRNA screening project and want to rename the channels. The cellHTS instance I created has the default names:
> 
>> channelNames(x)
> [1] "Channel 1" "Channel 2" "Channel 3" "Channel 4" "Channel 5" "Channel 6"
> [7] "Channel 7" "Channel 8"
> 
> The documentation in version 2.22.0 of Package 'cellHTS2' is: 
> 
> channelNames<-(object, value)
> signature(object = "cellHTS", value = "character"). Replace the channel names in object.
> 
> The way I interpret this, I think the following code should work:
> 
> #create new names for the channels
> chnames=c('All#','G1/S','G2','M','Aneuploid','Apoptotic','cPARP','Envision')
> 
> #Assign the new names to the channels
> channelNames(x,chnames)
> 
> The result is:
> 
> Error in .local(object, ...) : 
>  unused argument (c("All#", "G1/S", "G2", "M", "Aneuploid", "Apoptotic", "cPARP", "Envision"))
> 
> Can you please explain the proper way to change the channel names?
> 
> 
> thank you for your help,
> 
> Mark Dane
> Oregon Health and Sciences University
> 
> 
> Version info:
> version.string R version 3.0.0 (2013-04-03)
> cellHTS2_2.24.0
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor



More information about the Bioconductor mailing list