yijuanhu / LDM-Archive

Linear Decomposition Model
24 stars 4 forks source link

LDM package analyses data processed by other normalisation methods (e.g. CSS) #5

Open JialinHe0o0 opened 1 year ago

JialinHe0o0 commented 1 year ago

Dear yijuanhu, I would like to use the LDM package to analyze data processed by other normalization methods (e.g. CSS), do I need to add the following parameters in the ldm() function, such as: scale.otu.table = F, center.otu.table = F Thanks!

yijuanhu commented 1 year ago

Hi, You should set scale.otu.table=F if you have applied CSS normalization. You should still use center.otu.table=T to help with model fitting. In addition, you should set freq.scale.only=T to suppress the arcsin-root transformation of data since your data have been normalized.

Yijuan

JialinHe0o0 commented 1 year ago

Thank you so much for your answer! I have been troubled by such questions for several days and your answers were very helpful to me.

With gratitude, HJL0912

yijuanhu commented 1 year ago

Sorry that I missed your email for many days.

Yijuan

Sent from my iPhone

On Mar 9, 2023, at 4:19 AM, HJL0912 @.***> wrote:



Thank you so much for your answer! I have been troubled by such questions for several days and your answers were very helpful to me.

With gratitude, HJL0912

— Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyijuanhu%2FLDM%2Fissues%2F5%23issuecomment-1461633986&data=05%7C01%7Cyijuan.hu%40emory.edu%7Cbc8e6b26816c465eff2508db207f63a1%7Ce004fb9cb0a4424fbcd0322606d5df38%7C0%7C0%7C638139503734608900%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=LA%2FxXmn3st2uvIGLSQ6VFFOOko%2FvfEObLBOL7ZuhFYE%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFM4UJMIGWBFNW7VYSJCT7TW3GOCFANCNFSM6AAAAAAVBVTJUQ&data=05%7C01%7Cyijuan.hu%40emory.edu%7Cbc8e6b26816c465eff2508db207f63a1%7Ce004fb9cb0a4424fbcd0322606d5df38%7C0%7C0%7C638139503734608900%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MODYHUBXo8nRnMzLOhEMg%2BMoKndN8N5yvlQlxft%2FmkY%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>