Convert SingleCellExperiment/SpatialExperiment/SpatialFeatureExperiment objects to list object for jazzPanda.
Source:R/get_vectors.R
convert_data.Rd
This function takes an object of class SingleCellExperiment,
SpatialExperiment or SpatialFeatureExperimentreturns and returns a list
object that is expected for the get_vector
functions.
Value
outputs a list object with the following components
- trans_lst
A list of named dataframes. Each dataframe refers to one sample and shows the transcript detection coordinates for each gene. The name matches the input sample_names
- cm_lst
A list of named dataframes containing the count matrix for each sample. The name matches the input sample_names