createPlotObject.RdThis function creates a basic object containing the information needed to plot copy number data from a single-cell experiment. It expects an input matrix where each row represents a cell and each column represents a region of the genome.
createPlotObject(input.matrix, cell.names, granges, meta)An input matrix of class 'matrix'
A character vector containing unique cell names. Should be equal to the number of rows in input.matrix
A GenomicRanges GRanges object, where each range in the object corresponds to a column in the input.matrix
Data.frame of meta data. Rownames should be cell.names. At a minimum, it must include a "Sample" column.
A scCNVisObject containing 3 elements ("Matrix", "GRanges" and "Meta")