Create a SRTProject object based on at least count matrix list and spatial coordinates list.
CreateSRTProject(
cntList,
coordList,
projectName = "SRTProject",
cellMetaDataList = NULL,
sampleMetadata = NULL,
min.spots = 0,
min.genes = 0,
filter.plot = FALSE,
prefix = "****",
force = FALSE,
verbose = TRUE
)
a list with each component as a count matrix, has names for all components.
a list with spatial coordinates matrix has the same names as that of cntList.
a string, the name of this project, default as "SRTProject".
a list or NULL, provide the cell meta data for each data batch.
a dataframe object with the number of rows same as the length of cntList, provide the sample meta data.
a non-negative integer, the least number of nonzero spots for a retained gene used to filter spots in the QC.
a non-negative integer, the least number of nonzero genes for a retained spot used to filter spots in the QC.
a logical value, whether plot the QC plots in filtering step.
a string, specify the prefix for the output information.
a logical value, whether delete then rewrite the data to h5 file if the project exists.
a logical value, whether output the information when creating a SRTProject object.