load_cnv {gaia} | R Documentation |
This function loads the informations about the aberrant regions contained within the matrix passed as argument. It creates for all chromosomes and all kind of aberration (e.g. loss and gain) a matrix of dimension NxM (N observed samples and M observed probes).
load_cnv(segmentation_matrix, markers_list, num_of_samples)
segmentation_matrix |
A matrix containing the aberrant regions where each row in the file reports the information of an aberrant region. In particular the matrix has the following column: |
markers_list |
The marker descriptor object obtained by the function |
num_of_samples |
The number of analyzed samples. |
This function returns a list having the following structure:
CNV_matrix_list[[i]][[j]] |
contains the informations for the j-th chromosome on the i-th aberration. This element is a matrix of dimension NxM (N observed samples and M observed probes). |
An example of the data produced by this function can be found in synthCNV
Sandro Morganella et al.
Maintainer: S. Morganella <morganellaalx@gmail.com>
# Load the matrix containing the informations about the markers data(synthMarkers_Matrix) # Use the function load_markers to obtain the marker descriptor data object marks <- load_markers(synthMarkers_Matrix) # Load the matrix containing the informations about the aberrant regions data(synthCNV_Matrix) # Use the function load_cnv to obtain the aberrant region descriptor data object cnv <- load_cnv(synthCNV_Matrix, marks, 10)