normPixelsDF_anatomies: Function to create dataframe with information about all...

Description Usage Arguments Value

Description

Function to create dataframe with information about all pixels in several defined anatomical regions of MSI object Specifically used to compare distribution of feature distributions in different anatomical regions after normalisation

Usage

1
2
3
4
5
6
7
normPixelsDF_anatomies(
  MSIobject,
  pixel_list,
  anatomies,
  normalisation,
  medianDF
)

Arguments

MSIobject

MSI object from Cardinal

pixel_list

list of pixel vectors from different anatomical regions

anatomies

vector of labels for the different anatomical regions pixels belongs to (same order as 'pixel_list')

normalisation

Which normalisation step has been applied to 'MSIobject'

medianDF

median spectrum to compare to

Value

Dataframe with headers: pixel, anatomy, mz, intensity (of mz feature), median, FC (to the median spectrum)


MJS-708/MSIprocessing documentation built on Dec. 17, 2021, 2:11 a.m.