View source: R/dataprocessing_functions.R
getCNbins | R Documentation |
This function transform segment tables to bin tables
getCNbins(posBins, data, samples)
posBins |
list with genomic positions of bins. Each list contains data from each chromosome. Obtained from getBinsStartsEnds |
data |
segment table of copy numbers of all samples |
samples |
vector with sample names |
bin table of copy numbers of all samples
posBins <- lapply(1,function(chr) getBinsStartsEnds(window=1000000, chr, lengthChr[chr])) cells_bin <- getCNbins(posBins=posBins, data=cells_segcn[cells_segcn$sample=="22RV1",], samples="22RV1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.